@Test
public void testSimpleCommand() {

    CommandLineParser<CommandInvocation> parser = getParser(TestCommand1.class);
    FileCompleterGenerator completerGenerator = new FileCompleterGenerator();
    String out = completerGenerator.generateCompleterFile(parser);
    assertTrue(out.contains("_complete_test1"));
    assertTrue(out.contains("NO_VALUE_OPTIONS=\"--help -h \""));
    assertTrue(out.contains("VALUE_OPTIONS=\"--override -o --test -t \""));
}