final TemplateImageLoader mockTemplateImageLoader = mockery.mock(TemplateImageLoader.class);
// final SpecificationLoader mockSpecificationLoader =
// mockery.mock(SpecificationLoader.class);
// final PersistenceSessionFactory mockPersistenceSessionFactory =
// mockery.mock(PersistenceSessionFactory.class);
final UserProfileLoader mockUserProfileLoader = mockery.mock(UserProfileLoader.class);
final AuthenticationManager mockAuthenticationManager = mockery.mock(AuthenticationManager.class);
final AuthorizationManager mockAuthorizationManager = mockery.mock(AuthorizationManager.class);
mockery.checking(new Expectations() {
{