RemoteTestScopeApplicationContext applicationContext = createApplicationContext(testClass);
if (applicationContext != null) {
// triggers the application context created event
applicationContextEvent.fire(new ApplicationContextCreatedEvent(applicationContext));
setApplicationContext(applicationContext);
}
}