MockInput

class MockInput

A JSON object that contains a mocked result or errorOutput.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The mocked error output when calling TestState. When specified, the mocked response is returned as a JSON object that contains an error and cause field.

Link copied to clipboard

Determines the level of strictness when validating mocked results against their respective API models. Values include:

Link copied to clipboard

A JSON string containing the mocked result of the state invocation.

Functions

Link copied to clipboard
inline fun copy(block: MockInput.Builder.() -> Unit = {}): MockInput
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String