class UniqueProviderDelegate<T : AbstractFakeDataProvider<*>> : Any

Delegate class for LocalUniqueDataProvider used to return local providers that generate unique values.

Constructors

<init>

constructor(uniqueDataProvider: LocalUniqueDataProvider<T>, fakerService: FakerService)

Delegate class for LocalUniqueDataProvider used to return local providers that generate unique values.

Parameters

Name Description
uniqueDataProvider: LocalUniqueDataProvider<T>
fakerService: FakerService

Methods

getValue

fun getValue(thisRef: T, property: KProperty<*>): T

Parameters

Name Description
thisRef: T
property: KProperty<*>

ReturnValue

Name Description
T