assertNotNull( m );
assertEquals( 2,
m.lhs.length );
IPattern p0 = m.lhs[ 0 ];
assertTrue( p0 instanceof FactPattern );
FactPattern fp0 = (FactPattern) p0;
assertEquals( "Transactions",
fp0.getFactType() );
assertEquals( "$trans",
fp0.getBoundName() );
assertEquals( 0,
fp0.getNumberOfConstraints() );
IPattern p1 = m.lhs[ 1 ];
assertTrue( p1 instanceof FromCollectCompositeFactPattern );
FromCollectCompositeFactPattern fp1 = (FromCollectCompositeFactPattern) p1;
assertEquals( "java.util.List",
fp1.getFactPattern().getFactType() );
assertEquals( "$transactions",