I have a Aspect class which is running some method. I want to run a Unit Test with the Aspect class included, so it will run the suitable methods. How should I include my Aspect class in my separate Unit Test class, with some annotation or?
@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = Application.class)
@WebAppConfiguration
@IntegrationTest
public class ExampleTest {
Aucun commentaire:
Enregistrer un commentaire