Module de.cuioss.test.generator
Class ObjectGeneratorImpl<T>
java.lang.Object
de.cuioss.test.generator.internal.net.java.quickcheck.generator.support.ObjectGeneratorImpl<T>
- All Implemented Interfaces:
Generator<T>,ObjectGenerator<T>
- Direct Known Subclasses:
ObjectDefaultMappingGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.cuioss.test.generator.internal.net.java.quickcheck.ObjectGenerator
ObjectGenerator.ReturnValue<R> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionImplementation of T that is used to define the method a generator should be defined for.next()Generates the next instance.<R> ObjectGenerator.ReturnValue<R>on(R obj) Define a method a generator should be defined for.
-
Constructor Details
-
ObjectGeneratorImpl
-
-
Method Details
-
getRecorder
Description copied from interface:ObjectGeneratorImplementation of T that is used to define the method a generator should be defined for.- Specified by:
getRecorderin interfaceObjectGenerator<T>- Returns:
- an implementation of T used only to record method calls
-
on
Description copied from interface:ObjectGeneratorDefine a method a generator should be defined for.- Specified by:
onin interfaceObjectGenerator<T>- Type Parameters:
R- type of the return type- Parameters:
obj- is ignored- Returns:
ObjectGenerator.ReturnValueinstance to define a generator for this method
-
next
Description copied from interface:GeneratorGenerates the next instance.
-