public void testWhenNoInterface() {
IPOJOHelper helper = new IPOJOHelper(this);
String factoryName = "org.apache.felix.ipojo.test.scenarios.component.SimpleClass";
ComponentInstance ci = helper.createComponentInstance(factoryName);
waitForService(SimpleClass.class.getName(), null, 5000);
SimpleClass simple = (SimpleClass) getServiceObject(SimpleClass.class.getName(), null);
assertEquals("Hello", simple.hello());
ci.dispose();
}