{ if (!ServerManagement.isRemote()) { sc.stop(); sc = null; } pm.stop(); tr.stop(); ms.stop();
{
   public void tearDown() throws Exception   {            if (!ServerManagement.isRemote())      {         sc.stop();         sc = null;      }      pm.stop();      tr.stop();      ms.stop();            super.tearDown();   }