@Test public void testDisplayGiant() { final GiantView view = new GiantView(); final GiantModel model = mock(GiantModel.class); view.displayGiant(model); assertEquals(model.toString(), appender.getLastMessage()); assertEquals(1, appender.getLogSize()); }
public void displayGiant(GiantModel giant) { LOGGER.info(giant.toString()); }
GiantView { public void displayGiant(GiantModel giant) { LOGGER.info(giant.toString()); } }
GiantView { public void displayGiant(GiantModel giant) { LOGGER.info(giant.toString()); }  }
GiantView { public void displayGiant(GiantModel giant) { LOGGER.info(giant.toString()); }  void displayGiant(GiantModel giant); }
GiantView { public void displayGiant(GiantModel giant) { LOGGER.info(giant.toString()); }  void displayGiant(GiantModel giant);  }