@Test
public void testScanAndGenerate() {

    ImmutableBeanGenerator.scanAndGenerate(new File("src/test/java"), new File("target/gen"));
    assertTrue(new File("target/gen/com/github/davidmoten/bean/immutable/Example.java").exists());
}