-
-
Notifications
You must be signed in to change notification settings - Fork 3
FactorySetProperty
class FactorySetProperty<T :
Any
> :
ForgeryProperty
<
Set
<T>>
This class implements a ReadOnlyProperty, forging a random set of object with a factory provided to the forge.
T
- the type of the object to forge
clazz
- the class of the type to be forged
FactorySetProperty(clazz:
Class
<T>)
This class implements a ReadOnlyProperty, forging a random set of object with a factory provided to the forge.
T
- the type of the object to forge
clazz
- the class of the type to be forged
fun getForgery(forge:
Forge
):
Set
<T>
Inheritdoc
fun <reified T :
Any
> factorySetForgery():
ForgeryProperty
<
Set
<T>>
Creates a ReadOnlyProperty that will forge a random set of object with a factory provided to the Forge.
T
- the type of the object to forge
Xavier F. Gouchet – @xgouchet
Distributed under the MIT license. See LICENSE.md for more information.
https://github.com/xgouchet/Elymr
- Home
- Getting Started
- Core Module
- Integrations
- Reference (core)
- Reference (junit4)
- Reference (junit5)
- Reference (spek)