Modifier and Type | Method and Description |
---|---|
<S extends Subject<S,D>,D,SF extends SubjectFactory<S,D>> |
AbstractVerb.about(SF factory)
The recommended method of extension of Truth to new types, which is documented in
com.google.common.truth.delegation.DelegationTest . |
Modifier and Type | Method and Description |
---|---|
static <S extends Subject<S,T>,T> |
Truth.assertAbout(SubjectFactory<S,T> factory)
The recommended method of extension of Truth to new types, which is documented in
com.google.common.truth.delegation.DelegationTest . |
static <S extends Subject<S,D>,D> |
ExpectFailure.expectFailureAbout(SubjectFactory<S,D> factory,
ExpectFailure.DelegatedAssertionCallback<S,D> assertionCallback)
Static alternative that directly returns the triggered failure.
|
Constructor and Description |
---|
DelegatedVerb(FailureStrategy failureStrategy,
SubjectFactory<S,T> subjectFactory) |
Copyright © 2017. All Rights Reserved.