ServletOutputStream theOutputStream = new DummyServletOutputStream(new ByteArrayOutputStream());
when(theResponseMock.getOutputStream()).thenReturn(theOutputStream);
final EventServiceConfigurationFactory theEventServiceConfigurationFactory = EventServiceConfigurationFactory.getInstance();
//remove the PropertyConfigurationLoaders, because there is a eventservice.properties in the classpath and that prevents the WebDescriptorConfigurationLoader from loading.
theEventServiceConfigurationFactory.removeConfigurationLoader(new PropertyConfigurationLoader());
myEventService = new DummyEventServiceImpl(new DummyServletConfig());
super.setUp(myEventService);
myEventService.doGet(theRequestMock, theResponseMock);