}
@SuppressWarnings("unchecked")
@Test
public void testGenerateAssociationEndUpperCardinalityMultiplesIsUnique() {
AST ast = AST.newAST(AST.JLS3);
ast.newCompilationUnit();
TypeDeclaration td = ast.newTypeDeclaration();
td.setInterface(true);
Modifier modifier = ast
.newModifier(Modifier.ModifierKeyword.PUBLIC_KEYWORD);
td.modifiers().add(modifier);
td.setName(ast.newSimpleName("Company"));
Property property = mock(Property.class);
MethodDeclaration mdGetter = ast.newMethodDeclaration();
mdGetter.setName(ast.newSimpleName("getCompanies"));
String umlQualifiedTypeName = "test.de.Company";
String umlTypeName = "Company";
when(property.isOrdered()).thenReturn(false);