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