Uses of Class
com.google.common.truth.StringSubject
-
Packages that use StringSubject Package Description com.google.common.truth Truth is a library for performing assertions in tests: -
-
Uses of StringSubject in com.google.common.truth
Methods in com.google.common.truth that return StringSubject Modifier and Type Method Description static StringSubject
Truth. assertThat(@Nullable String actual)
Begins an assertion about aString
.StringSubject
TruthFailureSubject. factValue(String key)
Returns a subject for the value with the given name.StringSubject
TruthFailureSubject. factValue(String key, int index)
Returns a subject for the value of theindex
-th instance of the fact with the given name.StringSubject
ThrowableSubject. hasMessageThat()
Returns aStringSubject
to make assertions about the throwable's message.StringSubject
StandardSubjectBuilder. that(@Nullable String actual)
-