MockitoAnnotations.initMocks(this);
}
public void testNoConfiguration() throws Exception {
InstanceBuilder builder = new DefaultInstanceBuilder(m_bundleContext, "type");
DeclarationHandle handle = builder.build();
InstanceDeclaration did = (InstanceDeclaration) handle;
assertEquals("type", did.getComponentName());
assertEquals(InstanceDeclaration.UNNAMED_INSTANCE, did.getInstanceName());
assertNull(did.getComponentVersion());