Class EntityGenerator<T>

java.lang.Object
mocka.generator.AbstractGenerator<T>
mocka.generator.EntityGenerator<T>
All Implemented Interfaces:
Generator<T>

public class EntityGenerator<T> extends AbstractGenerator<T>
  • Constructor Details

  • Method Details

    • get

      public T get()
      Returns a random entity instance with the default GeneratorType.SELF
    • get

      public T get(GenerateType generateType)
      Returns a random entity instance with the given GenerateType
    • get

      public T get(ORMType ormType)
      Returns a random entity instance with the given ORMType and the default GeneratorType.SELF
    • get

      public T get(ORMType ormType, GenerateType generateType)
      Returns a random entity instance with the given ORMType and GenerateType