public void afterPropertiesSet() throws Exception {
if (testContextFactory == null) {
log.warn("Could not identify proper test context factory from Spring bean application context - constructing own test context factory. " +
"This restricts test context capabilities to an absolute minimum! You could do better when enabling the root application context for this server instance.");
testContextFactory = new TestContextFactory();
testContextFactory.setApplicationContext(applicationContext);
}
}