@Test
public void testCliOptionGeneration() {

    Options options = ConfigUtil.wrapperFor(Foo.class).getOptions();
    assertOption(options.getOption("my-value"), "my-value", false, 1, "my-value");
    assertOption(options.getOption("my-num"), "my-num", false, 1, "my-num");
    assertOption(options.getOption("my-flag"), "my-flag", false, -1, null);
    assertOption(options.getOption("no-negative-flag"), "no-negative-flag", false, -1, null);
    assertOption(options.getOption("my-enum"), "my-enum", false, 1, "my-enum");
}