MethodCallInstruction instr = getMCI(rVar, params, tVar);
SpecVar[] vars = new SpecVar[] {utils.getVar(0), utils.getVar(1)};
String[] vTypes = new String[] {"Bar", "Baz"};
MethodInvocationOp op = new MethodInvocationOp("mName", "Foo", vars, vTypes, "Bazaz", false);
ConsList<Binding> list = op.matches(new EqualityOnlyTypeHierarchy(), null, instr);
assertTrue(list != null);
assertTrue(list.contains(new Binding(Constraint.RESULT, tVar)));
assertTrue(list.contains(new Binding(Constraint.RECEIVER, rVar)));
assertTrue(list.contains(new Binding(utils.getVar(0), p1)));