I\'m writing JUnit tests for a spring-boot project but I noticed that there are a lot of duplicate code. Is there any way to avoid this. For example:
Exemple-1:
@T