-
-
Notifications
You must be signed in to change notification settings - Fork 3
FactoryProperty
class FactoryProperty<T :
Any
> :
ForgeryProperty
<T>
This class implements a ReadOnlyProperty, forging a random 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
FactoryProperty(clazz:
Class
<T>)
This class implements a ReadOnlyProperty, forging a random 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
): T
Inheritdoc
fun <reified T :
Any
> factoryForgery():
ForgeryProperty
<T>
Creates a ReadOnlyProperty that will forge a random 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)