Package | Description |
---|---|
com.google.common.truth |
Truth is an open source, fluent testing framework for Java that is designed to make your test
assertions and failure messages more readable.
|
Modifier and Type | Method and Description |
---|---|
static StringSubject |
Truth.assertThat(String actual) |
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 the
index -th instance of the fact with the given
name. |
StringSubject |
ThrowableSubject.hasMessageThat()
Returns a
StringSubject to make assertions about the throwable's message. |
StringSubject |
StandardSubjectBuilder.that(String actual) |
Copyright © 2018. All rights reserved.