Assert.assertNotNull(bundleContext);
ServletDispatcher dispatcher = new ServletDispatcher();
HttpServiceImpl httpService = new HttpServiceImpl(bundleContext, dispatcher);
httpService.start();
bundleContext.registerService(HttpService.class.getName(), httpService, null);
try
{
ServiceReference sr = bundleContext.getServiceReference(HttpService.class.getName());