package io.github.serpro69.kfaker.kotest
Methods
of
fun <T> Arb.Companion.of(block: ()->T):
Receiver
| Name | Description |
|---|---|
Arb.Companion
|
Parameters
| Name | Description |
|---|---|
block: ()->T
|
ReturnValue
| Name | Description |
|---|---|
|
Creates a new Arb that generates values from the given block function.
Example for fake generators:
Example using random class instances: