@Test public void testStopService() throws Throwable { UI uI = new UI(); uI.setName("ui"); uI.stopService(); assertNull(uI.ui, "uI.ui"); }
public void stopService () { NameRegistrar.unregister (getName()); if (ui != null) ui.dispose (); }
UI extends QBeanSupport implements UIObjectFactory { public void stopService () { NameRegistrar.unregister (getName()); if (ui != null) ui.dispose (); } }
UI extends QBeanSupport implements UIObjectFactory { public void stopService () { NameRegistrar.unregister (getName()); if (ui != null) ui.dispose (); } UI(); }
UI extends QBeanSupport implements UIObjectFactory { public void stopService () { NameRegistrar.unregister (getName()); if (ui != null) ui.dispose (); } UI(); void startService(); void stopService(); Object newInstance(String clazz); }
UI extends QBeanSupport implements UIObjectFactory { public void stopService () { NameRegistrar.unregister (getName()); if (ui != null) ui.dispose (); } UI(); void startService(); void stopService(); Object newInstance(String clazz);  }