@Test
void testHashCode() {

    final List<String> otherConstants = new ArrayList<>(ENUM_CONSTANTS);
    otherConstants.add("Z");
    final GeneratedEnumType other = new GeneratedEnumType(TYPE_NAME, otherConstants);
    assertNotEquals(other.hashCode(), instance.hashCode());
}