@Test
public void vfsSpecTest() throws Exception {

    OrmGenerationMojo mojo = new OrmGenerationMojo();
    Ontology ont = new Ontology();
    File loc = new File("src/test/resources/foaf.rdf");
    set("ontologyFile", "file://" + loc.getAbsolutePath(), ont);
    set("outputPackage", "org.foaf", ont);
    set("outputLocation", "target/generated-test-sources", mojo);
    set("generates", Collections.singletonList(ont), mojo);
    mojo.execute();
}