package strikt.mockk
Fields
Name | Description |
---|---|
val captured: Assertion.Builder
|
Maps this assertion to an assertion whose subject is the captured value of the CapturingSlot. |
Methods
isCaptured
fun <T : Any> Assertion.Builder
Receiver
Name | Description |
---|---|
Assertion.Builder
|
ReturnValue
Name | Description |
---|---|
Assertion.Builder
|
withCaptured
fun <T : Any> Assertion.Builder
Runs a group of assertions on the captured value.
Receiver
Name | Description |
---|---|
Assertion.Builder
|
Parameters
Name | Description |
---|---|
block: Assertion.Builder
|
a closure that can perform multiple assertions that will all be evaluated regardless of whether preceding ones pass or fail. |
ReturnValue
Name | Description |
---|---|
Assertion.Builder
|
this builder, to facilitate chaining. |
Asserts that the subject has captured a value.