Class ConstantGenerationStrategy

java.lang.Object
de.floydkretschmar.fixturize.stategies.constants.ConstantGenerationStrategy

public class ConstantGenerationStrategy extends Object
The strategy used to generate constants for a given fixture. Generally for each field in a given class that is annotated with Fixture one constant with the following format is generated:

public static tupe constantName = constantValue;

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

When field is annotated with one or more FixtureConstant annotations, then one constant per annotation is generated.