@Test
public void testNestedFieldWrite() throws Exception {
CompilationUnit cu = EclipseTACSimpleTestDriver.parseCode("NestedFieldWrite", NESTED_FIELD_WRITE);
MethodDeclaration m = EclipseTACSimpleTestDriver.getFirstMethod(cu);
EclipseTAC tac = new EclipseTAC(m.resolveBinding());
MethodInvocation inv = (MethodInvocation) ((ExpressionStatement) EclipseTACSimpleTestDriver.getLastStatement(m)).getExpression();
TACInstruction instr = tac.instruction(inv);
Assert.assertTrue(instr != null);
Assert.assertTrue(instr instanceof MethodCallInstruction);
MethodCallInstruction call = (MethodCallInstruction) instr;