@Test
public void throwsIfParameterNotPresent() {

    Assertions.assertThrows(CliError.class, () -> {
        Arguments arguments = new Arguments(MapUtils.of(), ListUtils.of());
        arguments.parameter("foo");
    });
}