SpringJUnit4ClassRunnerAppCtxTests serves as a proof of concept JUnit 4 based test class, which verifies the expected functionality of {@link SpringJUnit4ClassRunner} in conjunction with the following:
- {@link ContextConfiguration @ContextConfiguration}
- {@link Autowired @Autowired}
- {@link Resource @Resource}
- {@link ApplicationContextAware}
- {@link BeanNameAware}
- {@link InitializingBean}
Since no application context resource {@link ContextConfiguration#locations() locations} are explicitly declaredand since the {@link ContextConfiguration#loader() ContextLoader} is left setto the default value of {@link GenericXmlContextLoader}, this test class's dependencies will be injected via {@link Autowired @Autowired} and{@link Resource @Resource} from beans defined in the{@link ApplicationContext} loaded from the default classpath resource: "/org/springframework/test/context/junit/SpringJUnit4ClassRunnerAppCtxTests-context.xml
".
@author Sam Brannen
@since 2.5
@see AbsolutePathSpringJUnit4ClassRunnerAppCtxTests
@see RelativePathSpringJUnit4ClassRunnerAppCtxTests
@see InheritedConfigSpringJUnit4ClassRunnerAppCtxTests