@Test
public void testLoadCsv() {

    final ExternalSpreadsheetCompiler converter = new ExternalSpreadsheetCompiler();
    final String drl = converter.compile( "/data/ComplexWorkbook.csv",
                                          "/templates/test_template2.drl",
                                          InputType.CSV,
                                          10,
                                          2 );
    assertNotNull( drl );
    assertTrue( drl.indexOf( "myObject.setIsValid(1, 2)" ) > 0 );
    assertTrue( drl.indexOf( "myObject.size () > 2" ) > 0 );
    assertTrue( drl.indexOf( "Foo(myObject.getColour().equals(red),\n        myObject.size () > 1" ) > 0 );
}