### Question:
SimpleWizard implements Wizard { public void smoke() { tobacco.smoke(this); }  void smoke();  }### Answer:
@Test public void testSmoke() { final var simpleWizard = new SimpleWizard(); simpleWizard.smoke(); assertEquals("SimpleWizard smoking OldTobyTobacco", appender.getLastMessage()); assertEquals(1, appender.getLogSize()); }
@Test public void testSmoke() { final SimpleWizard simpleWizard = new SimpleWizard(); simpleWizard.smoke(); assertEquals("SimpleWizard smoking OldTobyTobacco", appender.getLastMessage()); assertEquals(1, appender.getLogSize()); }
@Test public void testSmoke() { final SimpleWizard simpleWizard = new SimpleWizard(); simpleWizard.smoke(); verify(getStdOutMock(), times(1)).println("SimpleWizard smoking OldTobyTobacco"); verifyNoMoreInteractions(getStdOutMock()); }