Custom beans setting

Report a typo

You have the following configuration in the project:

@Configuration  
public class AppConfig {
    //a lot of beans
}

What annotations can you use to test the beans from the configuration? The class for testing is below:

//annotations missed
class ApplicationTests {

    private final ApplicationContext applicationContext;

    @Autowired
    ApplicationTests(ApplicationContext applicationContext) {
	    this.applicationContext = applicationContext;
    }

    //some tests
}
Select one or more options from the list
___

Create a free account to access the full topic