@Test public void testDeactivate() { debug.deactivate(); debug.write(0, "HELLO"); assertEquals("", out.toString()); }
public void deactivate() { active = false; }
DefaultDebug implements Debug { public void deactivate() { active = false; } }
DefaultDebug implements Debug { public void deactivate() { active = false; }  }
DefaultDebug implements Debug { public void deactivate() { active = false; }  void enter(int group, Object from, String name); void enter(Object from, String name); void write(int group, String msg); void write(String msg); void exit(int group, Object from); void exit(Object from); void activate(); void activate(int group); void deactivate(); void deactivate(int group); boolean active(int group); }
DefaultDebug implements Debug { public void deactivate() { active = false; }  void enter(int group, Object from, String name); void enter(Object from, String name); void write(int group, String msg); void write(String msg); void exit(int group, Object from); void exit(Object from); void activate(); void activate(int group); void deactivate(); void deactivate(int group); boolean active(int group);  }