@Test
public void getAllLHSVariables() {

    final Pattern52 p = whenThereIsAPattern("Applicant",
                                            "$a1");
    whenPatternHasAField(p,
                         "field1",
                         DataType.TYPE_STRING,
                         "$f1");
    final BRLConditionColumn brl1 = whenThereIsABRLFactPattern("Applicant",
                                                               "$a2");
    whenBRLFactPatternHasAField(brl1,
                                "field1",
                                DataType.TYPE_STRING,
                                "$f2");
    final BRLConditionColumn brl2 = whenThereIsABRLFromCompositeFactPattern("Applicant",
                                                                            "$a3");
    whenBRLFromCompositeFactPatternHasAField(brl2,
                                             "field1",
                                             DataType.TYPE_STRING,
                                             "$f3");
    assertLHSBindings("$a1",
                      "$a2",
                      "$a3",
                      "$f1",
                      "$f2",
                      "$f3");
}