class UniqueProviderDelegate<T : AbstractFakeDataProvider<*>> : Any
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
|
Delegate class for LocalUniqueDataProvider used to return local providers that generate unique values.