### Question:
Datable implements Comparable<Datable>, Serializable, Range { @Override public int hashCode() { return Objects.hashCode(edtf); } Datable(String edtf); String getEdtf(); boolean isFloruit(); Certainty getCertainty(); Date getFromDate(); Date getToDate(); @Override @JsonValue String toString(); int getFromYear(); int getToYear(); @Override int compareTo(Datable other); @Override boolean equals(Object obj); @Override int hashCode(); @Override boolean isValid(); @Override Object getUpperLimit(); @Override Object getLowerLimit();  }### Answer:
@Test public void testHashCode() { String dateString = "20131011"; assertEquals(Objects.hashCode(dateString), new Datable(dateString).hashCode()); }