Interface GeneratorRegistry

All Known Implementing Classes:
MapperTest, PropertyAwareTest, ValueObjectTest

public interface GeneratorRegistry
Interface providing the capability for handling the TypedGeneratorRegistry programmatically. Implementors of this interface, usually the base test-classes, are supposed to take care about the runtime handling of the TypedGeneratorRegistry The runtime handling consists of three steps

Configuration

Author:
Oliver Wolff
  • Method Summary

    Modifier and Type
    Method
    Description
    default List<de.cuioss.test.generator.TypedGenerator<?>>
    Callback method for registering additional generator, in cases you can not use the PropertyGenerator annotation, e.g.
  • Method Details

    • registerAdditionalGenerators

      default List<de.cuioss.test.generator.TypedGenerator<?>> registerAdditionalGenerators()
      Callback method for registering additional generator, in cases you can not use the PropertyGenerator annotation, e.g. if you have instances of TypedGenerator but not types. The default implementation solely return a mutable empty List, must therefore not be considered using super
      Returns:
      A list of TypedGenerators to be registered