| Package | Description | 
|---|---|
| com.google.common.truth | Truth is an open source, fluent testing framework for Java that is designed to make your test
 assertions and failure messages more readable. | 
| com.google.common.truth.extensions.proto | Custom subjects for testing Protocol
 Buffer instances. | 
| Modifier and Type | Method and Description | 
|---|---|
| Correspondence<A,E> | Correspondence. formattingDiffsUsing(Correspondence.DiffFormatter<? super A,? super E> formatter)Returns a new correspondence which is like this one, except that the given formatter may be
 used to format the difference between a pair of elements that do not correspond. | 
| static <A,E> Correspondence<A,E> | Correspondence. from(Correspondence.BinaryPredicate<A,E> predicate,
    String description)Constructs a  Correspondencethat compares actual and expected elements using the given
 binary predicate. | 
| static Correspondence<Number,Number> | Correspondence. tolerance(double tolerance)Returns a  CorrespondencebetweenNumberinstances that considers instances to
 correspond (i.e. | 
| static <A,E> Correspondence<A,E> | Correspondence. transforming(Function<A,?> actualTransform,
            Function<E,?> expectedTransform,
            String description)Constructs a  Correspondencethat compares elements by transforming the actual and the
 expected elements using the given functions and testing the transformed values for equality. | 
| static <A,E> Correspondence<A,E> | Correspondence. transforming(Function<A,? extends E> actualTransform,
            String description)Constructs a  Correspondencethat compares elements by transforming the actual elements
 using the given function and testing for equality with the expected elements. | 
| Modifier and Type | Method and Description | 
|---|---|
| <A,E> IterableSubject.UsingCorrespondence<A,E> | IterableSubject. comparingElementsUsing(Correspondence<? super A,? super E> correspondence)Starts a method chain for a check in which the actual elements (i.e. | 
| <A,E> MultimapSubject.UsingCorrespondence<A,E> | MultimapSubject. comparingValuesUsing(Correspondence<? super A,? super E> correspondence)Starts a method chain for a check in which the actual values (i.e. | 
| <A,E> 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| <A,E> IterableSubject.UsingCorrespondence<A,E> | IterableOfProtosSubject. comparingElementsUsing(Correspondence<A,E> correspondence)Starts a method chain for a check in which the actual elements (i.e. | 
| <A,E> MultimapSubject.UsingCorrespondence<A,E> | MultimapWithProtoValuesSubject. comparingValuesUsing(Correspondence<A,E> correspondence)Starts a method chain for a check in which the actual values (i.e. | 
| <A,E> MapSubject.UsingCorrespondence<A,E> | MapWithProtoValuesSubject. comparingValuesUsing(Correspondence<A,E> correspondence)Starts a method chain for a check in which the actual values (i.e. | 
Copyright © 2019. All rights reserved.