map.put(Constants.OBJECTCLASS, new String[]{"my.class"});
EndpointDescription ed = new EndpointDescription(map);
ConfigurationTypeHandler handler = control.createMock(ConfigurationTypeHandler.class);
ImportRegistrationImpl iri = new ImportRegistrationImpl(ed, null);
BundleContext requestingContext = control.createMock(BundleContext.class);
Bundle requestingBundle = control.createMock(Bundle.class);
EasyMock.expect(requestingBundle.getBundleContext()).andReturn(requestingContext);