* the same type. So, anchor types cannot rely on reference equality. If we
* ever decide to change that, this test will let us know to update
* expectations elsewhere.
*/
public void testAnchorTypeEquality() {
AnchorType type1dup = AnchorType.create(AnchorTests.class, "1");
assertEquals(ANCHOR_TYPE_1, type1dup);
assertEquals(ANCHOR_TYPE_1.toString(), type1dup.toString());
// Reminder to update AnchorType comparisons to identity rather than .equals
assertNotSame(ANCHOR_TYPE_1, type1dup);
}