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