Pair<EntryInstruction, Method> pair = getEntryAndMethod(tVar, params);
SpecVar[] vars = new SpecVar[] {utils.getVar(0), utils.getVar(1)};
String[] vTypes = new String[] {"Bar", "Baz"};
BeginOfMethodOp op = new BeginOfMethodOp(null, null, vars, vTypes, false);
ConsList<Binding> list = op.matches(new EqualityOnlyTypeHierarchy(), pair.snd(), pair.fst());
assertTrue(list != null);
assertTrue(list.contains(new Binding(Constraint.RECEIVER, tVar)));
assertTrue(list.contains(new Binding(utils.getVar(0), tVar)));
assertTrue(list.contains(new Binding(utils.getVar(1), tVar)));