Simplify the `StreamSubject` constructor. It doesn't seem to be necessary for us to be able to pass in an existing `Supplier<List>` in some cases. Always constructing one backed by `actual` still allows the relevant tests to pass. RELNOTES=n/a PiperOrigin-RevId: 780667738
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.