final IsisSessionFactoryDefault sessionFactory =
new IsisSessionFactoryDefault(DeploymentType.EXPLORATION, configuration, mockTemplateImageLoader,
mockSpecificationLoader, mockAuthenticationManager, mockAuthorizationManager, mockUserProfileLoader,
mockPersistenceSessionFactory, servicesList);
final IsisContext context = IsisContextStatic.createRelaxedInstance(sessionFactory);
IsisContext.setConfiguration(sessionFactory.getConfiguration());
sessionFactory.init();
context.openSessionInstance(new SimpleSession("tester", new String[0], "001"));
}