EclipseTAC tac = new EclipseTAC(m.resolveBinding());
ClassInstanceCreation instance = (ClassInstanceCreation) EclipseTACSimpleTestDriver.getLastStatementReturn(m).getExpression();
TACInstruction instr = tac.instruction(instance);
Assert.assertTrue(instr != null);
Assert.assertTrue(instr instanceof NewObjectInstruction);
NewObjectInstruction newobj = (NewObjectInstruction) instr;
Assert.assertFalse(newobj.isAnonClassType());
Assert.assertNotNull(newobj.resolveInstantiatedType());
Assert.assertEquals(instance.resolveTypeBinding(), newobj.resolveInstantiatedType());
Assert.assertTrue(newobj.hasOuterObjectSpecifier());
Assert.assertNotNull(newobj.getOuterObjectSpecifierOperand());
Assert.assertEquals(tac.variable(instance.getExpression()), newobj.getOuterObjectSpecifierOperand());
}