### Question:
Term extends AbstractNode<DisjunctionMaxQuery> implements DisjunctionMaxClause, CharSequence,
        InputSequenceElement, ComparableCharSequenceContainer { @Override public Term clone(final DisjunctionMaxQuery newParent) { return clone(newParent, isGenerated()); } Term(final DisjunctionMaxQuery parentQuery, final String field, final CharSequence value, final boolean generated);  Term(final DisjunctionMaxQuery parentQuery, final String field, final CharSequence value);  Term(final DisjunctionMaxQuery parentQuery, final CharSequence value);  Term(final DisjunctionMaxQuery parentQuery, final CharSequence value, final boolean generated);  Term(final DisjunctionMaxQuery parentQuery, final String field, final char[] value,
               final int start, final int length, final boolean generated); @Override Term clone(final DisjunctionMaxQuery newParent); Term clone(final DisjunctionMaxQuery newParent, final boolean isGenerated); @Override T accept(final NodeVisitor<T> visitor); String getField(); @Override char charAt(final int index); ComparableCharSequence getValue(); @Override String toString(); @Override int length(); @Override ComparableCharSequence subSequence(final int start, final int end); ComparableCharSequence toCharSequenceWithField(final boolean lowerCaseValue); @Override int hashCode(); @Override boolean equals(final Object obj); void delete(); @Override ComparableCharSequence getComparableCharSequence();  }### Answer:
@Test public void equalIfSameFieldAndValue() { for (Term t : uniqueTerms) { assertThat(t, is(equalTo(t.clone(null)))); } }