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
}