@Test public void testSmoke() { final SimpleWizard simpleWizard = new SimpleWizard(); simpleWizard.smoke(); assertEquals("SimpleWizard smoking OldTobyTobacco", appender.getLastMessage()); assertEquals(1, appender.getLogSize()); }
public void smoke() { tobacco.smoke(this); }
SimpleWizard implements Wizard { public void smoke() { tobacco.smoke(this); } }
SimpleWizard implements Wizard { public void smoke() { tobacco.smoke(this); }  }
SimpleWizard implements Wizard { public void smoke() { tobacco.smoke(this); }  void smoke(); }
SimpleWizard implements Wizard { public void smoke() { tobacco.smoke(this); }  void smoke();  }