BundleContext dswContext = control.createMock(BundleContext.class);
BundleContext callingContext = control.createMock(BundleContext.class);
ServiceEndpointDescription sd = mockServiceDescription(control, "Foo");
Object service = "hi";
ConfigurationTypeHandler handler = control.createMock(ConfigurationTypeHandler.class);
handler.createServer(serviceReference, dswContext, callingContext, sd, String.class, service);
EasyMock.expectLastCall().andReturn(srvr);
control.replay();
assertNull(ServiceHookUtils.createServer(handler, serviceReference, dswContext, callingContext, sd, service));