EnumInfo implements DataSerializableFixedID { @Override public String toString() { return clazz + "." + name; } EnumInfo(Enum<?> e);  EnumInfo(String clazz, String name, int enumOrdinal);  EnumInfo(); @Override int getDSFID(); String getClassName(); void setClassName(String v); @Override void toData(DataOutput out,
      SerializationContext context); @Override void fromData(DataInput in,
      DeserializationContext context); void flushCache(); int compareTo(EnumInfo other); Enum<?> getEnum(); int getOrdinal(); @Override int hashCode(); @Override String toString(); String toFormattedString(); @Override boolean equals(Object obj); PdxInstance getPdxInstance(int enumId); @Override KnownVersion[] getSerializationVersions(); void toStream(PrintStream printStream);  }
@Test public void testToString() { final EnumInfo enumInfo = new EnumInfo(TestEnum.ONE); final String str = enumInfo.toString(); assertNotEquals(-1, str.indexOf("org.apache.geode.pdx.internal.EnumInfoTest$TestEnum")); assertNotEquals(-1, str.indexOf("ONE")); }