Truth has built in support for the following types:
Other JDK types
Object- since all types extend
Object, you can make simple assertions such as
.isEqualTo()on any type
Comparable- this can be used for any
Iterable- this can be used for any
Truth is extensible, so if you don’t see a type you need to make assertions on in this list, you can write your own.