@Test
public void SubstitutionReachingMultipleNodesWithKeywordCompositeType_tc124() {
Implementation subjectBimpl = waitForImplByName(null, "subject-b");
CompositeType subjectBCompositeType = (CompositeType) waitForImplByName(
null, "subject-b-composite");
Composite subjectBComposite = (Composite) subjectBCompositeType
.createInstance(null, Collections.<String, String> emptyMap());
// Instance of the subject-a (parent)
Instance subjectB = subjectBimpl
.createInstance(subjectBComposite, null);
auxListProperties("\t", subjectB);
System.err.println(subjectB.getProperty("property-case-14"));
Assert.assertTrue(
String.format(
"Using metasubstituion to retrieve the name of the compositetype in which a given component is in did not fetch the right composite (%s)",
subjectB.getProperty("property-case-14")),
subjectB.getProperty("property-case-14").equals(
subjectBCompositeType.getProperty("name")));
}