@Test
public void testEquals() {

    final FactPattern fp = new FactPattern();
    fp.setFactType( "Applicant" );
    fp.setBoundName( "$a" );
    final SingleFieldConstraintEBLeftSide con = new SingleFieldConstraintEBLeftSide();
    con.setConstraintValueType( SingleFieldConstraint.TYPE_UNDEFINED );
    fp.addConstraint( con );
    con.setExpressionLeftSide( new ExpressionFormLine( new ExpressionUnboundFact( fp.getFactType() ) ) );
    assertEquals( con,
                  con );
}