@Test
public void testSimpleCommand() throws IOException {

    GraalReflectionFileGenerator generator = new GraalReflectionFileGenerator();
    CommandLineParser<CommandInvocation> parser = getParser(TestCommand1.class);
    StringWriter writer = new StringWriter();
    generator.generateReflection(parser, writer);
    assertEquals(readFile("src/test/resources/graal1"), writer.toString());
}