}
copyAllConnectionPointsAndReferences(oState, oTCGRealNode);
} else if(oState.getSubmachine() != null)
{
// was the submachine already copied? Then just reference it.
TestCaseGraph oReferencedTCG = io_colSubmachineMapping.get(oState.getSubmachine());
if(oReferencedTCG != null)
{
oTCGRealNode.setSubGraph(oReferencedTCG);
// oReferencedTCG.getSuperStates().add(oTCGNode);
oReferencedTCG.setCompositeSuperState(oTCGRealNode);
copyAllConnectionPointsAndReferences(oState, oTCGRealNode);
} else
{
oTCGRealNode.setSubGraph(GeneratedFactory.eINSTANCE.createTestCaseGraph());
// oTCGNode.getSubGraph().getSuperStates().add(oTCGNode);