Interface CreationMethodGenerationStrategy

All Known Implementing Classes:
BuilderCreationMethodStrategy, ConstructorCreationMethodStrategy
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CreationMethodGenerationStrategy
Defines a function that generates a number of methods used to create instances of a generated fixture for a specified class and the already generated constants of the fixture. Generally for each method generation annotation used on a class also annotated with Fixture one generation method with the following structure will be generated:

public static returnType methodName() { return returnValue; }

In the above given example, each part is generated according to its own strategy: