EntityRedirectDocumentImpl implements EntityRedirectDocument { @Override public int hashCode() { return Hash.hashCode(this); } EntityRedirectDocumentImpl(EntityIdValue id, EntityIdValue targetId, long revisionId); @JsonCreator  EntityRedirectDocumentImpl(
			@JsonProperty("entity") String jsonId,
			@JsonProperty("redirect") String jsonTargetId,
			@JsonProperty("lastrevid") long revisionId,
			@JacksonInject("siteIri") String siteIri); @JsonIgnore @Override EntityIdValue getEntityId(); @JsonIgnore @Override long getRevisionId(); @Override EntityRedirectDocument withRevisionId(long newRevisionId); @JsonIgnore @Override EntityIdValue getTargetId(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void hashBasedOnContent() { assertEquals(itemRedirect.hashCode(), itemRedirect2.hashCode()); }