@Test
public void namespace()
{

   MyProvider stringProvider = new MyProvider();
   Registry reg = Registry.getOrCreate(stringProvider);
   reg.register(String.class, stringProvider.serviceImpl());
   reg.logState();
   Assert.assertEquals(reg.namespace(), "myapi");
   Assert.assertEquals(Registry.lookup("myapi", String.class).toString(), "Hello");
   Registry.reset();
}