All Questions
1 question
1
vote
1
answer
5k
views
How to write junit cases for @Bean for configuration classes
I have the below method in the @Configuration class and I need to write JUnit for this. Can anyone please guide me to achieve the JUnit test case?
@Bean
@Profile({"!test & !local"})
@...