assertNotNull(service.newInstance("type.of.component"));
assertNotNull(service.newInstance("type.of.component", "instance.name"));
InstanceBuilder builder = service.newInstance("type.of.component", "instance.name", "component.version");
assertNotNull(builder);
DeclarationHandle instance = builder.build();
instance.publish();
verify(m_bundleContext).registerService(
eq(InstanceDeclaration.class.getName()),
anyObject(),
any(Dictionary.class));
}