Stub Configuration
data class StubConfiguration @JvmOverloads constructor(val name: String? = null, val eventuallyRemove: Boolean = false, val verbose: Boolean = false)(source)
Configuration for a stub's lifecycle and logging behaviour.
Constructors
Link copied to clipboard
Secondary constructor for creating a StubConfiguration instance.
Properties
Link copied to clipboard
When true, the stub becomes ineligible for matching immediately after its first match and is removed from the registry asynchronously. Subsequent requests will not match this stub even if the physical removal has not yet been applied. Defaults to false.
Link copied to clipboard
Deprecated alias for eventuallyRemove, preserved for binary and source compatibility.