Class PersonRandomizer

java.lang.Object
io.github.cjstehno.testthings.rando.PersonRandomizer
All Implemented Interfaces:
Randomizer<Person>

public class PersonRandomizer extends Object implements Randomizer<Person>
A randomizer used to generate random Person instances from the fixtures.
  • Constructor Details

    • PersonRandomizer

      public PersonRandomizer()
  • Method Details

    • one

      public Person one()
      Description copied from interface: Randomizer
      Used to generate a single random instance of the target class.
      Specified by:
      one in interface Randomizer<Person>
      Returns:
      a random instance of the target class