public void testStaticCall() throws Exception {
CompilationUnit simple = EclipseTACSimpleTestDriver.parseCode("StaticCall", STATIC_CALL);
MethodDeclaration m = EclipseTACSimpleTestDriver.getFirstMethod(simple);
EclipseTAC tac = new EclipseTAC(m.resolveBinding());
MethodInvocation invoke = (MethodInvocation) EclipseTACSimpleTestDriver.getLastStatementReturn(m).getExpression();
TACInstruction instr = tac.instruction(invoke);
Assert.assertTrue(instr != null);
Assert.assertTrue(instr instanceof MethodCallInstruction);
MethodCallInstruction call = (MethodCallInstruction) instr;
Assert.assertEquals(tac.typeVariable(m.resolveBinding().getDeclaringClass()), call.getReceiverOperand());
EclipseTACSimpleTestDriver.assertOperands(invoke.arguments(), call.getArgOperands(), tac);