### Question:
VerboseHandler implements CliOptionHandler { @Override public void handle(String optionValue, Options options) { if (optionValue == null) { return; } if (optionValue.isEmpty()) { org.slf4j.Logger slf4jLogger = LoggerFactory.getLogger("io.redskap.swagger.brake"); if (slf4jLogger instanceof Logger) { Logger logger = (Logger) slf4jLogger; logger.setLevel(Level.DEBUG); Appender<ILoggingEvent> verboseAppender = getVerboseAppender(); if (verboseAppender != null) { logger.detachAppender("INFO_STDOUT"); logger.addAppender(verboseAppender); } } } }  @Override void handle(String optionValue, Options options); @Override CliOption getHandledCliOption(); @Override String getHelpMessage();  }### Answer:
@Test public void testHandleWorks() { String propertyValue = ""; Options options = new Options(); underTest.handle(propertyValue, options); assertThat(options).isEqualTo(new Options()); Logger logger = LoggerFactory.getLogger("io.redskap.swagger.brake"); assertThat(logger.isDebugEnabled()).isTrue(); }
@Test public void testHandleDoesNotDoAnythingIfPropertyIsNull() { String propertyValue = null; Options options = new Options(); underTest.handle(propertyValue, options); assertThat(options).extracting(Options::getOutputFilePath).isNull(); }