### Question:
EntityType implements Serializable { @Nonnull @JsonCreator public static EntityType forName(String name) { String normedName = name.toLowerCase(Locale.ROOT); EntityType type = new EntityType(normedName); EntityType canonical = TYPE_CACHE.putIfAbsent(normedName, type); return canonical == null ? type : canonical; } private  EntityType(String n); @JsonValue String getName(); @Override String toString(); @Nonnull @JsonCreator static EntityType forName(String name);  }### Answer:
@Test public void testSerialize() { EntityType wombat = EntityType.forName("wombat"); EntityType cloned = SerializationUtils.clone(wombat); assertThat(cloned, sameInstance(wombat)); }