@Test
public void sameVariableFroTwoDifferentOperatorsSameType() throws Exception {

    TemplateModel m = new TemplateModel();
    m.name = "t1";
    m.lhs = new IPattern[1];
    FactPattern factPattern = new FactPattern();
    m.lhs[0] = factPattern;
    factPattern.addConstraint(makeConstraint("Applicant", "age", "Integer", "$default", "=="));
    factPattern.addConstraint(makeConstraint("Applicant", "name", "Integer", "$default", "!="));
    assertEquals(1, m.getInterpolationVariablesList().length);
    assertEquals(TemplateModel.DEFAULT_TYPE, m.getInterpolationVariablesList()[0].getDataType());
}