An object and its roles share identity
In the object-oriented world this entails that an object and its roles are the same.
The compound role object will always have the same identity as its contained player object and each and every role object.
For more test cases see EqualityRoleTest.scala.
There was an error while loading. Please reload this page.