### Question:
ExcludedPathsHandler implements CliOptionHandler { @Override public void handle(String optionValue, Options options) { if (StringUtils.isNotBlank(optionValue)) { log.debug("Handling {} parameter with value {}", getHandledCliOption(), optionValue); String[] excludedPaths = optionValue.split(","); log.debug("Splitted values are {}", excludedPaths); options.setExcludedPaths(Arrays.stream(excludedPaths).collect(toSet())); } }  @Override void handle(String optionValue, Options options); @Override CliOption getHandledCliOption(); @Override String getHelpMessage();  }### Answer:
@Test public void testHandleShouldNotSetValueWhenNullIsPassed() { Options options = new Options(); underTest.handle(null, options); assertThat(options.getExcludedPaths()).isEmpty(); }
@Test public void testHandleShouldNotSetValueWhenBlankIsPassed() { Options options = new Options(); underTest.handle(" ", options); assertThat(options.getExcludedPaths()).isEmpty(); }
@Test public void testHandleShouldSetSingleValue() { Options options = new Options(); String path1 = "/test/path"; underTest.handle(path1, options); assertThat(options.getExcludedPaths()).containsExactlyInAnyOrder(path1); }
@Test public void testHandleShouldSetMultiValue() { Options options = new Options(); String path1 = "/test/path"; String path2 = "/test2/path2"; underTest.handle(Joiner.on(",").join(path1, path2), options); assertThat(options.getExcludedPaths()).containsExactlyInAnyOrder(path1, path2); }