@Test
public void test() throws Exception {

    File pom = new File( "target/test-classes/test-project/" );
    assertNotNull( pom );
    assertTrue( pom.exists() );
    VdbMojo myMojo = ( VdbMojo ) rule.lookupConfiguredMojo( pom, "vdb" );
    assertNotNull( myMojo );
    myMojo.execute();
    File out = ( File ) rule.getVariableValueFromObject( myMojo, "outputDirectory" );
    assertNotNull( out );
    assertTrue( out.exists() );
    testFileContents(out);
}