Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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"}) @...
Sdcoder's user avatar
  • 43