Package com.google.common.truth
Interface ExpectFailure.StandardSubjectBuilderCallback
-
- Enclosing class:
- ExpectFailure
public static interface ExpectFailure.StandardSubjectBuilderCallbackA "functional interface" forexpectFailure()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 ExpectFailureinstance instead, however if you prefer the.expectFailure()pattern you can use this interface to pass in an anonymous class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinvokeAssertion(StandardSubjectBuilder whenTesting)
-
-
-
Method Detail
-
invokeAssertion
void invokeAssertion(StandardSubjectBuilder whenTesting)
-
-