### Question:
Field { @Override public int hashCode() { if (fieldType.getType() == FieldType.Type.BYTES) { return Objects.hash(fieldType, Bytes.hashCode((byte[]) value)); } return Objects.hash(fieldType, value); } Field(FieldType fieldType, @Nullable T value); FieldType.Type getFieldType(); String getName(); @Nullable T getValue(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testHashcode() { Assert.assertEquals(generateFieldsSet(), generateFieldsSet()); }