@Test
public void testAttributeDeclartionwithParametrizedType() {
FamixClass classSimpleTemplate = (FamixClass) aModel.getElement(aFactory.createClass("testPackage.ae.SimpleTemplate<T>", null));
FamixClass classTypeT = (FamixClass) aModel.getElement(aFactory.createClass("testPackage.ae.SimpleTemplate$T", null));
FamixAttribute attributeLastEntry = (FamixAttribute) aModel.getElement(aFactory.createAttribute("testPackage.ae.SimpleTemplate<T>.lastEntry", null));
FamixAttribute wrongAttributeLastEntry = (FamixAttribute) aModel.getElement(aFactory.createAttribute("testPackage.ae.SimpleTemplate.lastEntry", null));
assertNotNull("FamixModel must contain testPackage.ae.SimpleTemplate<T>", classSimpleTemplate);
assertNotNull("FamixModel must contain testPackage.ae.SimpleTemplate$T", classTypeT);
assertNotNull("FamixModel must contain testPackage.ae.SimpleTemplate<T>.lastEntry", attributeLastEntry);
assertEquals("FamixModel must not contain testPackage.ae.SimpleTemplate.lastEntry", null, wrongAttributeLastEntry);