### Question:
Field { @Override public String toString() { return "Field{" + "name='" + fieldType.getName() + '\'' + ", type='" + fieldType.getType() + '\'' + ", value='" + (fieldType.getType() == FieldType.Type.BYTES ? Bytes.toStringBinary((byte[]) value) : 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 testToString() { Assert.assertEquals(generateFieldsSet().toString(), generateFieldsSet().toString()); }