### Question:
PathValueParser extends ValueParser<PathValue> { @NotNull @Override public PathValue parse(@NotNull final String value) throws ValueParseException { final String trimmedValue = value.trim(); if (StringUtils.isNotBlank(trimmedValue)) { return new PathValue(trimmedValue); } else { throw new ValueParseException(trimmedValue, "Path", "A path must have at least one non-whitespace character!"); } }  @NotNull @Override PathValue parse(@NotNull final String value);  }### Answer:
@Test public void parseValid() throws ValueParseException { Assertions.assertEquals(new PathValue("/valid/path"), new PathValueParser().parse("/valid/path")); }