@Test(expected = IllegalArgumentException.class)
public void testInvalidLocale() throws GeneratorException {

    GeneratorMain.main(new String[]{
        "-c", TestApplication.class.getName(),
        "-d", "destdir",
        "-l", "invalid"
    });
}