def METHOD_NAME(navigable_association: UML.Association):
    end = navigable_association.memberEnd[1]
    end.aggregation = "composite"
    a = list(associations(navigable_association.memberEnd[0].type))
    assert a == ['A.b = association("b", B, composite=True, opposite="a")']