private void newTr(MyMockTaskRunner newTr) { if (tr != null) { tr.stopService(); } tr = newTr; tr.initService(getMockLockssDaemon()); tr.startService(); }
public void tearDown() throws Exception { TimeBase.setReal(); tr.stopService(); super.tearDown(); }