public void testGenerateCodeForFicheiro() throws Exception {
final String POJO_NAME = "Ficheiro";
System.setProperty("entity", POJO_NAME);
deleteDirectory("target/appfuse/generated");
HibernateExporterMojo mojo = getHibernateMojo("gen", "annotationconfiguration");
mojo.getProject().getProperties().setProperty("web.framework", "jsf");
mojo.execute();
assertTrue("can't find " + POJO_NAME + "FormTest.java",
checkExists("target/appfuse/generated/src/test/java/annotationconfiguration/webapp/action/" + POJO_NAME + "FormTest.java"));
assertTrue("can't find /" + POJO_NAME + "Form.java",