T - the type of promised valuepublic interface ExecResult<T> extends Result<T>
ExecHarness.yield(ratpack.func.Function) operation.| Modifier and Type | Method and Description |
|---|---|
boolean |
isComplete()
Is the result that the execution completed without a value being returned.
|
failure, getThrowable, getValue, getValueOrThrow, isFailure, isSuccess, successboolean isComplete()
This can happen if the promise was routed instead of being returned to the caller,
or if the promise failed and the error was handled “upstream”.
In such a case, the code under test handled the promised value.
As the promise producing code dealt with the value, the tests will have to examine the side affects of this occurring.