174175176177178179180181182183184
final LeftTupleImpl tuple1 = new LeftTupleImpl( f1, sink, true ); // Tuple should pass and propagate node.assertLeftTuple( tuple1, this.context, this.workingMemory ); // make sure assertions were propagated assertEquals( 2,
222223224225226227228229230231232
final LeftTupleImpl tuple0 = new LeftTupleImpl( f0, sink, true ); // Tuple should fail and not propagate node.assertLeftTuple( tuple0, this.context, this.workingMemory ); // Create the Tuple final DefaultFactHandle f1 = new DefaultFactHandle( 1,
234235236237238239240241242243244
final LeftTupleImpl tuple1 = new LeftTupleImpl( f1, sink, true ); // Tuple should fail and not propagate node.assertLeftTuple( tuple1, this.context, this.workingMemory ); // Check memory was not populated this.workingMemory.getNodeMemory( node );
285286287288289290291292293294295
final LeftTuple tuple0 = sink.createLeftTuple( parentTuple, sink, null, true); // Tuple should pass and propagate node.assertLeftTuple( tuple0, this.context, this.workingMemory ); // make sure assertions were propagated assertEquals( 1,