public void testComplexFunctionsNested2() throws Exception {
setKSession( getModelSession( source2, VERBOSE ) );
setKbase( getKSession().getKieBase() );
FactType userAge1 = getKbase().getFactType( packageName, "UserAge" );
FactType userAge2 = getKbase().getFactType( packageName, "UserAgeComplex" );
FactHandle h = getKSession().getEntryPoint( "in_Age" ).insert( 10.0 );
getKSession().fireAllRules();
checkFirstDataFieldOfTypeStatus( userAge1, true, false, null, 6270.0 );
checkFirstDataFieldOfTypeStatus( userAge2, true, false, null, 44.1 );
System.out.println( "_________________________________________________________________" );
FactType age = getKbase().getFactType( packageName, "Age" );
Object aged = getKSession().getObjects( new ClassObjectFilter( age.getFactClass() ) ).iterator().next();
getKSession().delete( getKSession().getFactHandle( aged ) );
getKSession().fireAllRules();
assertEquals( 0, getKSession().getFactCount() );