### Question:
DeprecatedApiDeletionAllowedHandler implements CliOptionHandler { @Override public void handle(String optionValue, Options options) { if (StringUtils.isNotBlank(optionValue)) { options.setDeprecatedApiDeletionAllowed(BooleanUtils.toBooleanObject(optionValue)); } }  @Override void handle(String optionValue, Options options); @Override CliOption getHandledCliOption(); @Override String getHelpMessage();  }### Answer:
@Test public void testHandleShouldGiveFalseValueForTheOptionWhenFalseValueGiven() { Options options = new Options(); underTest.handle("false", options); assertThat(options.getDeprecatedApiDeletionAllowed()).isFalse(); }
@Test public void testHandleShouldGiveTrueValueForTheOptionWhenNullValueGiven() { Options options = new Options(); underTest.handle(null, options); assertThat(options.getDeprecatedApiDeletionAllowed()).isNull(); }
@Test public void testHandleShouldGiveTrueValueForTheOptionWhenEmptyValueGiven() { Options options = new Options(); underTest.handle("", options); assertThat(options.getDeprecatedApiDeletionAllowed()).isNull(); }
@Test public void testHandleShouldGiveTrueValueForTheOptionWhenTrueValueGiven() { Options options = new Options(); underTest.handle("true", options); assertThat(options.getDeprecatedApiDeletionAllowed()).isTrue(); }
@Test public void testHandleShouldGiveTrueValueForTheOptionWhenRandomValueGiven() { Options options = new Options(); underTest.handle("asd", options); assertThat(options.getDeprecatedApiDeletionAllowed()).isNull(); }