Node N1C = VN1.getANode();
Node N2 = VN2.getANode();
Component testComponent = gf.newFcInstance(
tTest,
new ControllerDescription("testComponent", Constants.COMPOSITE),
null,
N1A);
Component mergeSortComponent = gf.newFcInstance(
tMergeSort,
new ControllerDescription("mergeSortComponent", Constants.PRIMITIVE),
new ContentDescription(MergeSort.class.getName()),
N1B);
Component SC1 = gf.newFcInstance(
tSC,
new ControllerDescription("SC1", Constants.PRIMITIVE),
new ContentDescription(SkandiumComponentImp.class.getName()),
N1C);
Component SC2 = gf.newFcInstance(
tSC,
new ControllerDescription("SC2", Constants.PRIMITIVE),
new ContentDescription(SkandiumComponentImp.class.getName()),
N2);
PAContentController cc = Utils.getPAContentController(testComponent);
cc.addFcSubComponent(mergeSortComponent);