We have a Spring based JUnit test class which is utilizing an inner test context configuration class
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguratio
I use these approaches when I'm have to solve this:
Keep in mind that annotations only solve generic cases. You'll have to replicate some or all of their work when you leave the common ground.