### Question:
FieldTable implements EncodableData { @Override public int hashCode() { return properties.hashCode(); } FieldTable(Map<ShortString, FieldValue> properties);  FieldTable(); long getSize(); void write(ByteBuf buf); void add(ShortString propertyName, FieldValue value); @Override int hashCode(); @Override boolean equals(Object obj); static FieldTable parse(ByteBuf buf); FieldValue getValue(ShortString propertyName); static final FieldTable EMPTY_TABLE; }### Answer:
@Test public void testHashCode() throws Exception { Map<ShortString, FieldValue> properties = new HashMap<>(); properties.put(testKey, testValue); FieldTable similar = new FieldTable(properties); Assert.assertEquals(similar.hashCode(), testFieldTable.hashCode(), "Hashcode should match for similar " + "data"); }