MethodInvocationOp op = new MethodInvocationOp("mName", "Foo", vars, vTypes, "Bar", 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), rVar)));
assertTrue(list.contains(new Binding(utils.getVar(1), tVar)));
assertEquals(4, list.size());
}