Lines Matching defs:of
6 * You may obtain a copy of the License at
33 * Tester for {@link Equivalence} relationships between groups of objects.
38 * other. Objects of different groups are expected to be unequal. For example:
42 * EquivalenceTester.of(someStringEquivalence)
51 * the {@link EqualsTester}. It includes an extra test against an instance of an
75 assertEquals("the hash (" + itemHash + ") of $ITEM must be equal to the hash ("
76 + relatedHash + ") of $RELATED", itemHash, relatedHash);
86 public static <T> EquivalenceTester<T> of(Equivalence<? super T> equivalence) {
91 * Adds a group of objects that are supposed to be equivalent to each other
120 assertEquals("the hash of " + item + " must be consistent", equivalence.hash(item),