assertEquals(4, fv.size());
}
@Test
public void testMatchWrongInstr() {
NamedTypeBinding[] vBindings = new NamedTypeBinding[] {new NamedTypeBinding("Bar"), new NamedTypeBinding("Baz")};
List<StubVariable> params = new ArrayList<StubVariable>();
params.add(new StubVariable());
params.add(new StubVariable());
NewObjectInstruction instr = new StubNewObjectInstruction(params, new StubMethodBinding(new NamedTypeBinding("Foo"), vBindings), new StubVariable());
SpecVar[] vars = new SpecVar[] {utils.getVar(0), utils.getVar(1)};
String[] vTypes = new String[] {"Bar", "Baz"};
MethodInvocationOp op = new MethodInvocationOp("testtesttest", "Foo", vars, vTypes, "void", false);
ConsList<Binding> map = op.matches(new EqualityOnlyTypeHierarchy(), null, instr);