elementD = new MockElement();
elementE = new MockElement();
elementF = new MockElement();
elementG = new MockElement();
associationAA = new Association(elementA, elementA);
associationAB = new Association(elementA, elementB);
associationAC = new Association(elementA, elementC);
associationBA = new Association(elementB, elementA);
associationBC = new Association(elementB, elementC);
associationCA = new Association(elementC, elementA);
associationCB = new Association(elementC, elementB);
associationAD = new Association(elementA, elementD);
associationBD = new Association(elementB, elementD);
associationCD = new Association(elementC, elementD);
associationDE = new Association(elementD, elementE);
associationDF = new Association(elementD, elementF);
associationDG = new Association(elementD, elementG);
associationAE = new Association(elementA, elementE);
associationAF = new Association(elementA, elementF);
associationAG = new Association(elementA, elementG);
associationBE = new Association(elementB, elementE);
associationBF = new Association(elementB, elementF);
associationBG = new Association(elementB, elementG);
associationCE = new Association(elementC, elementE);
associationCF = new Association(elementC, elementF);
associationCG = new Association(elementC, elementG);
associationABdirected = new Association(true, elementA, elementB);
associationACdirected = new Association(true, elementA, elementC);
associationADdirected = new Association(true, elementA, elementD);
associationAEdirected = new Association(true, elementA, elementE);
associationAFdirected = new Association(true, elementA, elementF);
associationAGdirected = new Association(true, elementA, elementG);
associationBAdirected = new Association(true, elementB, elementA);
associationBCdirected = new Association(true, elementB, elementC);
associationBDdirected = new Association(true, elementB, elementD);
associationBEdirected = new Association(true, elementB, elementE);
associationBFdirected = new Association(true, elementB, elementF);
associationBGdirected = new Association(true, elementB, elementG);
associationCAdirected = new Association(true, elementC, elementA);
associationCBdirected = new Association(true, elementC, elementB);
associationCDdirected = new Association(true, elementC, elementD);
associationCEdirected = new Association(true, elementC, elementE);
associationCFdirected = new Association(true, elementC, elementF);
associationCGdirected = new Association(true, elementC, elementG);
associationDEdirected = new Association(true, elementD, elementE);
associationDFdirected = new Association(true, elementD, elementF);
associationDGdirected = new Association(true, elementD, elementG);
associationEAdirected = new Association(true, elementE, elementA);
associationEBdirected = new Association(true, elementE, elementB);
associationECdirected = new Association(true, elementE, elementC);
IAssociation[] associations = { associationAB, associationAC, associationBA, associationBC, associationCA, associationCB, associationAD, associationBD, associationCD, associationDE, associationDF, associationDG, associationAE, associationAF, associationAG, associationBE, associationBF, associationBG, associationCE, associationCF, associationCG };
IElement[] elements = { elementA, elementB, elementC, elementD, elementE, elementF, elementG };
this.associations = new HashSet<IAssociation>(Arrays.asList(associations));