m.name );
assertEquals( 2,
m.lhs.length );
IPattern p1 = m.lhs[ 0 ];
assertTrue( p1 instanceof FactPattern );
FactPattern fp1 = (FactPattern) p1;
assertEquals( "Event",
fp1.getFactType() );
assertEquals( "$e",
fp1.getBoundName() );
assertEquals( 0,
fp1.getNumberOfConstraints() );
IPattern p2 = m.lhs[ 1 ];
assertTrue( p2 instanceof FactPattern );
FactPattern fp2 = (FactPattern) p2;
assertEquals( "Event",
fp2.getFactType() );
assertNull( fp2.getBoundName() );