FailureKind
Rasuvaeff\Understudy\FailureKind
Enum — Package: rasuvaeff/understudy — Source — Version: v0.4.1
Implements: UnitEnum
What kind of verification claim a VerificationFailure reports.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
UnmetExpectation | FailureKind | An expect() or verify() claim about how often a call happens was not met. | |
StrictStubUnused | FailureKind | verifyAll(strictStubs: true) found a stub the code under test never used. | |
OutOfOrder | FailureKind | An expect(...)->ordered() constraint was violated. | |
OutOfSequence | FailureKind | verifySequence() saw a different protocol than the one specified. | |
UnaccountedCalls | FailureKind | A call arrived that no expect() matched and no successful verify() claimed. | |
UnusedDouble | FailureKind | unused() found calls on a double expected to receive none. |
Cases
| Case | Backing value |
|---|---|
UnmetExpectation | — |
StrictStubUnused | — |
OutOfOrder | — |
OutOfSequence | — |
UnaccountedCalls | — |
UnusedDouble | — |