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));
}
public void testPublish() throws Exception {