Class SkipRandomizer
-
- All Implemented Interfaces:
-
io.github.krandom.api.Randomizer
public class SkipRandomizer implements Randomizer<T>
A randomizer used to skip fields from being populated. This is an implementation of the Null Object Pattern
Mahmoud Ben Hassine ([email protected])
-
-
Constructor Summary
Constructors Constructor Description SkipRandomizer()
-
Method Summary
Modifier and Type Method Description Object
getRandomValue()
Generate a random value for the given type. -
-
Method Detail
-
getRandomValue
Object getRandomValue()
Generate a random value for the given type.
- Returns:
a random value for the given type
-
-
-
-