private UserProfile profile;
@Before
public void setup() throws Exception {
Logger.getRootLogger().setLevel(Level.OFF);
final Mockery mockery = new JUnit4Mockery();
final ArrayList<Object> servicesList = new ArrayList<Object>();
service = new TestServiceObject1();
servicesList.add(service);
final IsisSessionFactory executionContextFactory = new IsisSessionFactoryDefault(DeploymentType.EXPLORATION, new IsisConfigurationDefault(), mockery.mock(TemplateImageLoader.class), mockery.mock(SpecificationLoader.class), mockery.mock(AuthenticationManager.class),
mockery.mock(AuthorizationManager.class), mockery.mock(UserProfileLoader.class), mockery.mock(PersistenceSessionFactory.class), servicesList);
IsisContextStatic.createRelaxedInstance(executionContextFactory);
final XMLReader parser = XMLReaderFactory.createXMLReader();
final UserProfileDataHandler handler = new UserProfileDataHandler();