EasyMock.replay(callingContext);
Map<String, Object> props = new HashMap<String, Object>();
props.put("osgi.remote.configuration.type", Constants.POJO_CONFIG_TYPE);
props.put(Constants.POJO_HTTP_SERVICE_CONTEXT, "/myRunnable");
ServiceEndpointDescription sd = new ServiceEndpointDescriptionImpl(Runnable.class.getName(), props);
assertEquals("Precondition failed", 0, dp.getExposedServices().size());
h.createServer(sr, dswContext, callingContext, sd, Runnable.class, myService);
assertEquals(1, dp.getExposedServices().size());
assertSame(sr, dp.getExposedServices().iterator().next());