Uses of Class
com.google.common.truth.MapSubject.UsingCorrespondence
-
Packages that use MapSubject.UsingCorrespondence Package Description com.google.common.truth Truth is a library for performing assertions in tests: -
-
Uses of MapSubject.UsingCorrespondence in com.google.common.truth
Methods in com.google.common.truth that return MapSubject.UsingCorrespondence Modifier and Type Method Description <A extends @Nullable Object,E extends @Nullable Object>
MapSubject.UsingCorrespondence<A,E>MapSubject. comparingValuesUsing(Correspondence<? super A,? super E> correspondence)
Starts a method chain for a check in which the actual values (i.e. the values of theMap
under test) are compared to expected values using the givenCorrespondence
.<V extends @Nullable Object>
MapSubject.UsingCorrespondence<V,V>MapSubject. formattingDiffsUsing(Correspondence.DiffFormatter<? super V,? super V> formatter)
Starts a method chain for a check in which failure messages may use the givenCorrespondence.DiffFormatter
to describe the difference between an actual value (i.e. a value in theMap
under test) and the value it is expected to be equal to, but isn't.
-