### Question:
GiantView { public void displayGiant(GiantModel giant) { LOGGER.info(giant.toString()); }  void displayGiant(GiantModel giant);  }### Answer:
@Test public void testDisplayGiant() { final var view = new GiantView(); final var model = mock(GiantModel.class); view.displayGiant(model); assertEquals(model.toString(), appender.getLastMessage()); assertEquals(1, appender.getLogSize()); }
@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()); }