HttpServiceManager h = new HttpServiceManager(dswContext, null, null, null) {
@Override
protected HttpService getHttpService() {
return httpService;
}
<BUG>};
Bus bus = h.registerServletAndGetBus("/myService", dswContext, sr);

Assert.assertNotNull(bus);</BUG>
ServiceEvent event = new ServiceEvent(ServiceEvent.UNREGISTERING, sr);

HttpServiceManager h = new HttpServiceManager(dswContext, null, null, null) {
@Override
protected HttpService getHttpService() {
return httpService;
}
};
Bus bus = BusFactory.newInstance().createBus();
h.registerServlet(bus, "/myService", dswContext, sr);
ServiceEvent event = new ServiceEvent(ServiceEvent.UNREGISTERING, sr);
