h = getFactHandle( h, workingMemory );
workingMemory.retract( h );
workingMemory = getSerialisedStatefulSession( workingMemory );
assertEquals( 0,
IteratorToList.convert( workingMemory.iterateObjects() ).size() );
TruthMaintenanceSystem tms = ((NamedEntryPoint)workingMemory.getWorkingMemoryEntryPoint( EntryPointId.DEFAULT.getEntryPointId() ) ).getTruthMaintenanceSystem();
final java.lang.reflect.Field field = tms.getClass().getDeclaredField( "equalityKeyMap" );
field.setAccessible( true );