createPropertyProxy

open override fun <Value> createPropertyProxy(id: String, collector: KMockContract.Collector, freeze: Boolean): KMockContract.PropertyProxy<Value>

Instantiates a PropertyProxy.

See also

Parameters

Value

the value type of the hosting PropertyProxy.

id

a unique identifier for this Proxy.

collector

a optional Collector for AssertionChains. Default is a NoopCollector.

freeze

boolean which indicates if freezing can be used or not. Default is true. Default is null.