this.ruleBase.getStatefulSessions() );
assertNotContains( this.wm3, this.ruleBase.getStatefulSessions() );
}
public void testNoKeepReference() throws Exception {
SessionConfiguration conf = new SessionConfiguration();
conf.setKeepReference( false );
final WorkingMemory wm5 = this.ruleBase.newStatefulSession( conf, null );
final WorkingMemory wm6 = this.ruleBase.newStatefulSession( conf, null );
assertLength( 4,
this.ruleBase.getStatefulSessions() );
assertNotContains( wm5, this.ruleBase.getStatefulSessions() );