StubConfiguration

constructor(name: String? = null, eventuallyRemove: Boolean = false, verbose: Boolean = false)(source)


constructor(removeAfterMatch: Boolean)(source)

Deprecated

Use StubConfiguration(eventuallyRemove = removeAfterMatch) instead

Replace with

StubConfiguration(eventuallyRemove = removeAfterMatch)

Secondary constructor for creating a StubConfiguration instance.

This constructor is deprecated and should be replaced with the StubConfiguration(eventuallyRemove) constructor.

Parameters

removeAfterMatch

Indicates whether the stub should be eventually removed after it has been matched.