GuavaMatchers { public static <T> Matcher<T> equivalentTo(final T expected, final Equivalence<T> equivalence) { return IsEquivalent.equivalentTo(expected, equivalence); }  static Matcher<Optional> emptyGuavaOptional(); static Matcher<T> equivalentTo(final T expected, final Equivalence<T> equivalence); static Matcher<Multiset<E>> elementWithCount(final E element, final int size); static Matcher<Multimap<K, ?>> keyWithSize(final K element, final int size); static Matcher<Multimap<K, ?>> hasSameKeySet(final Multimap<K, ?> comparison); static Matcher<Multimap<K, ?>> hasSameKeySet(final Set<K> comparison); static Matcher<Multimap<K, ?>> emptyKeySet(); static Matcher<Multimap<K, ?>> keySetWithSize(final int size);  }
@Test public void testEquivalentTo() throws Exception { assertThat(GuavaMatchers.equivalentTo(object, equivalence), instanceOf(IsEquivalent.class)); }