Class SkipRandomizer
java.lang.Object
org.jeasy.random.randomizers.misc.SkipRandomizer
- All Implemented Interfaces:
Randomizer<Object>
A randomizer used to skip fields from being populated.
This is an implementation of the Null Object Pattern
- Author:
- Mahmoud Ben Hassine ([email protected])
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGenerate a random value for the given type.
-
Constructor Details
-
SkipRandomizer
public SkipRandomizer()
-
-
Method Details
-
getRandomValue
Description copied from interface:Randomizer
Generate a random value for the given type.- Specified by:
getRandomValue
in interfaceRandomizer<Object>
- Returns:
- a random value for the given type
-