assertNotNull( wrapper.getList().get( 0 ) );
assertEquals( 4, wrapper.getList().get( 0 ) );
}
private TypeResolver getTypeResolver() {
TypeResolver resolver = new ClassTypeResolver( new HashSet<String>(), getClassLoader() );
resolver.addImport( "org.drools.workbench.models.testscenarios.backend.MyCollectionWrapper" );
resolver.addImport( "org.drools.workbench.models.testscenarios.backend.Cheesery" );
resolver.addImport( "org.drools.workbench.models.testscenarios.backend.Cheese" );
resolver.addImport( "org.drools.workbench.models.testscenarios.backend.SqlDateWrapper" );
resolver.addImport( "org.drools.workbench.models.testscenarios.backend.CheeseType" );
resolver.addImport( "org.drools.workbench.models.testscenarios.backend.Person" );
resolver.addImport( "org.drools.workbench.models.testscenarios.backend.OuterFact" );
return resolver;
}