### Question:
ConfigureForUnixVisitor implements ZoomVisitor { public void visit(Zoom zoom) { LOGGER.info(zoom + " used with Unix configurator."); }  void visit(Zoom zoom);  }### Answer:
@Test public void testVisitForZoom() { ConfigureForUnixVisitor conUnix = new ConfigureForUnixVisitor(); Zoom zoom = new Zoom(); conUnix.visit(zoom); assertThat(LOGGER.getLoggingEvents()).extracting("level", "message").contains( tuple(INFO, zoom + " used with Unix configurator.")); }