Annotation Interface Fixture


@Target(TYPE) @Retention(SOURCE) public @interface Fixture
Indicates that a fixture should be generated for the annotated object. The fixture will be generated according to the strategies defined through the other annotations of this library.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns the list of class names that should be used for implementation of a fixture for a generic class.
  • Element Details

    • genericImplementations

      String[] genericImplementations
      Returns the list of class names that should be used for implementation of a fixture for a generic class. For non-generic classes this will be ignored/empty.
      Default:
      {}