EntityVersion implements Serializable { @Override public String toString() { return new ToStringBuilder(this).append("object class", getObjectClass()).append("objectId", getObjectId()) .append("version", getVersionId()) .toString(); } EntityVersion();  EntityVersion(int objectId, int versionId, @Nonnull Class<? extends BaseEntity> objectClass); int getObjectId(); int getVersionId(); String getObjectClass(); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode();  }
@Test public void testToString_1() throws Exception { EntityVersion fixture = new EntityVersion(1, 1, BaseEntity.class); String result = fixture.toString(); assertNotNull(result); }