bc.getServiceReferences(null, JaxRSUtils.PROVIDERS_FILTER);
EasyMock.expectLastCall().andReturn(new ServiceReference[]{sref});
sref.getProperty(Constants.RS_PROVIDER_PROP_KEY);
EasyMock.expectLastCall().andReturn(true);
bc.getService(sref);
AegisElementProvider p = new AegisElementProvider();
EasyMock.expectLastCall().andReturn(p);
EasyMock.replay(bc, sref);
Map<String, Object> props = new HashMap<String, Object>();
props.put(Constants.RS_PROVIDER_EXPECTED_PROP_KEY, "true");
ServiceEndpointDescription sd = new ServiceEndpointDescriptionImpl("MyInterface", props);