h = getFactHandle( h, workingMemory );
workingMemory.retract( h );
workingMemory = getSerialisedStatefulSession( workingMemory );
List list = IteratorToList.convert( workingMemory.iterateObjects() );
// CheeseEqual was updated, making it stated, so it wouldn't have been logically retracted
assertEquals( 1,
list.size() );
assertEquals( new CheeseEqual("person", 3), list.get( 0 ));
FactHandle fh = workingMemory.getFactHandle( list.get(0) );