Expectation can be used with Future#expecting(Expectation).
| Modifier and Type | Method and Description |
|---|---|
| public default Expectation | Returns: an expectation that is a logical and of this andotherthe other expectation other)Returned an expectation succeeding when this expectation and the |
| public default Throwable | Returns: a meaningful exceptionthe value to describe value)Turn an invalid |
| public default Expectation | Returns: an expectation that is a logical or of this andotherthe other expectation other)Returned an expectation succeeding when this expectation or the |
| public boolean | test(V
the checked value value)Check the |
| public default Expectation | Returns: a new expectation describing the error withdescriptorthe function describing the error descriptor)Returns a new expectation with the same predicate and a customized error |
| and | back to summary |
|---|---|
| public default Expectation Returned an expectation succeeding when this expectation and the
| |
| describe | back to summary |
|---|---|
| public default Throwable describe(V value) Turn an invalid
| |
| or | back to summary |
|---|---|
| public default Expectation Returned an expectation succeeding when this expectation or the
| |
| test | back to summary |
|---|---|
| public boolean test(V value) Check the
| |
| wrappingFailure | back to summary |
|---|---|
| public default Expectation Returns a new expectation with the same predicate and a customized error
| |