@Test public void testDeactivate() { event.deactivate(); event.write("HELLO"); assertEquals("", out.toString()); }
public void deactivate() { active = false; }
DefaultEvent implements Event { public void deactivate() { active = false; } }
DefaultEvent implements Event { public void deactivate() { active = false; }  }
DefaultEvent implements Event { public void deactivate() { active = false; }  void write(String msg); void write(Exception e, String msg); void activate(); void deactivate(); }
DefaultEvent implements Event { public void deactivate() { active = false; }  void write(String msg); void write(Exception e, String msg); void activate(); void deactivate();  }