ExpectFailure.SimpleSubjectBuilderCallback, which is identical except that its
parameter is of SimpleSubjectBuilder, the new name of AbstractVerb.DelegatedVerb.@Deprecated public static interface ExpectFailure.DelegatedAssertionCallback<S extends Subject<S,D>,D>
expectFailureAbout() to invoke and
capture failures.
Java 8 users should pass a lambda to .expectFailureAbout() rather than directly
implement this interface. Java 7 users can define an @Rule ExpectFailure instance
instead, however if you prefer the .expectFailureAbout() pattern you can use this
interface to pass in an anonymous class.
| Modifier and Type | Method and Description |
|---|---|
void |
invokeAssertion(AbstractVerb.DelegatedVerb<S,D> whenTesting)
Deprecated.
|
void invokeAssertion(AbstractVerb.DelegatedVerb<S,D> whenTesting)
Copyright © 2017. All rights reserved.