@Test public void testStopService() throws Throwable { SMAdaptor sMAdaptor = new SMAdaptor(); sMAdaptor.setName("testSMAdaptorName"); sMAdaptor.stopService(); assertEquals("testSMAdaptorName", sMAdaptor.getName(), "sMAdaptor.getName()"); }
protected void stopService () throws Exception { NameRegistrar.unregister (getName ()); }
SMAdaptor extends QBeanSupport implements SMAdaptorMBean { protected void stopService () throws Exception { NameRegistrar.unregister (getName ()); } }
SMAdaptor extends QBeanSupport implements SMAdaptorMBean { protected void stopService () throws Exception { NameRegistrar.unregister (getName ()); } SMAdaptor(); }
SMAdaptor extends QBeanSupport implements SMAdaptorMBean { protected void stopService () throws Exception { NameRegistrar.unregister (getName ()); } SMAdaptor(); void setImpl(String clazz); String getImpl(); }
SMAdaptor extends QBeanSupport implements SMAdaptorMBean { protected void stopService () throws Exception { NameRegistrar.unregister (getName ()); } SMAdaptor(); void setImpl(String clazz); String getImpl();  }