### Question:
NameRegistrar implements Loggeable { public static NameRegistrar getInstance() { return instance; } private  NameRegistrar(); static TSpace<String, Object> getSpace(); static Map<String,Object> getAsMap(); static NameRegistrar getInstance(); static void register(String key, Object value); static void unregister(String key); static T get(String key); static T get(String key, long timeout); static T getIfExists(String key); void dump(PrintStream p, String indent); void dump(PrintStream p, String indent, boolean detail);  }### Answer:
@Test public void testGetInstance() throws Throwable { NameRegistrar result = NameRegistrar.getInstance(); assertThat(result, is(sameInstance(NameRegistrar.getInstance()))); }