@Test
public void testGenerate()
    throws GenerationException
{

    TestGenerationRequest request = new TestGenerationRequest();
    request.setTransientOutputFolder( new File( "./target/files" ) );
    request.addClass( "net.flexmojos.oss.generator.contraints.ConstraintDemo", null );
    request.setClassLoader( Thread.currentThread().getContextClassLoader() );
    generator.generate( request );
}