@Override
    protected String convertFromString(final String value) throws ConversionException {
        final Path path = Paths.get(value);
        if (path.getParent() != null) {
            throw new ConversionException(
                    String.format("%s must be a filename only (%s)", KEY, path));
        }
        return value;
    }
@Test
    void testJarIdWithParentDir() throws Exception {
        assertThatThrownBy(() -> jarIdPathParameter.convertFromString("../../test.jar"))
                .isInstanceOf(ConversionException.class);
    }