Avoid testing identity equality on `Boolean` instances. [JEP 401](https://openjdk.org/jeps/401) is making such comparisons equivalent to value-based equality. That doesn't actually affect the usages here, which compare value types to non-value types. So we could keep those tests as they are if we want; we'd just likely eventually receive some robocomments that want us to migrate them to `isEqualTo`. RELNOTES=n/a PiperOrigin-RevId: 962399630
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 in the majority of the tests in Google’s own codebase.
Read more at the main website.