workingMemory.setGlobal( "testObject",
new FromTestClass() );
workingMemory.setGlobal( "globalObject",
globalObject );
final Person bob = new Person( "bob" );
workingMemory.insert( bob );
workingMemory.fireAllRules();
assertEquals( 6,
list.size() );
final List array = (List) list.get( 0 );
assertEquals( 3,
array.size() );
final Person p = (Person) array.get( 0 );
assertSame( p,
bob );
assertEquals( new Integer( 42 ),
array.get( 1 ) );