Change all Correspondence instances within Truth to use the new factory methods.

These aren't as neat as they would be if we were able to use lambdas and method references, but it still seems like a good idea to follow best practice ourselves in case anyone is watching, and we can leave comments showing what it would look like if we could (and perhaps one day we will be able to, which will be trivial with these comments in place).

RELNOTES=n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=238501804
5 files changed
tree: 87f1d51d79bd4e64e62a2c6224e6be7adbbb1c29
  1. core/
  2. extensions/
  3. util/
  4. .gitignore
  5. .travis.yml
  6. CONTRIBUTING.md
  7. LICENSE
  8. pom.xml
  9. README.md
README.md

Main Site Build Status Maven Release Stackoverflow

What is Truth?

Truth makes your test assertions and failure messages more readable. Similar to AssertJ, it natively supports many JDK and Guava types, and it is extensible to others.

Truth is owned and maintained by the Guava team. It is used from the majority of the tests in Google’s own codebase.

Read more at the main website.