@Ignore("Integration Tests depended on sensitive account keys, ignoring until better harness is in place.")
public void testCreateEvent_ReadEventWithNoLoggedInUser() throws Exception {
// Test creating an event with no logged in user
EventService eventService = applicationManager.getEventService();
SecurityService mockSecurityService = mock(SecurityService.class);
when(mockSecurityService.getCurrentUser()).thenThrow(new AuthenticationException());
ReflectionTestUtils.setField(eventService, "securityService", mockSecurityService);
Event event = eventService.createEvent(EventId.READ, testUser, null);
Assert.assertNull(event);