### Question:
SyncState { @Override public int hashCode() { return new HashCodeBuilder(17, 31) .append(existing) .append(mtime) .append(size) .toHashCode(); } SyncState();  SyncState(boolean existing, Long mtime, Long size); boolean isExisting(); Long getMtime(); Long getSize(); @Override boolean equals(Object obj); @Override int hashCode();  }### Answer:
@Test public void equality() { assertThat(new SyncState(), equalTo(new SyncState())); assertThat(new SyncState().hashCode(), is(equalTo(new SyncState().hashCode()))); }