Uses of Class
com.google.common.truth.OptionalSubject
-
Packages that use OptionalSubject Package Description com.google.common.truth Truth is a library for performing assertions in tests: -
-
Uses of OptionalSubject in com.google.common.truth
Methods in com.google.common.truth that return OptionalSubject Modifier and Type Method Description static OptionalSubject
Truth. assertThat(@Nullable Optional<?> actual)
Begins an assertion about anOptional
.static OptionalSubject
Truth8. assertThat(@Nullable Optional<?> target)
Deprecated.OptionalSubject
StandardSubjectBuilder. that(@Nullable Optional<?> actual)
Methods in com.google.common.truth that return types with arguments of type OptionalSubject Modifier and Type Method Description static Subject.Factory<OptionalSubject,Optional<?>>
OptionalSubject. optionals()
Deprecated.Instead ofabout(optionals()).that(...)
, use justthat(...)
.
-