EnumId implements DataSerializableFixedID { @Override public String toString() { return "EnumId[dsid=" + getDSId() + ", enumnum=" + getEnumNum() + "]"; } EnumId(int id);  EnumId(); @Override int getDSFID(); @Override void toData(DataOutput out,
      SerializationContext context); @Override void fromData(DataInput in,
      DeserializationContext context); int intValue(); int getDSId(); int getEnumNum(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override KnownVersion[] getSerializationVersions();  }
@Test public void testToString() { final EnumId enumId = new EnumId(ID); final String str = enumId.toString(); assertNotEquals(-1, str.indexOf(Integer.toString(0xDE))); assertNotEquals(-1, str.indexOf(Integer.toString(0xADBEEF))); }