Class GeneratorFactory
- java.lang.Object
-
- io.wcm.testing.junit.rules.parameterized.GeneratorFactory
-
@ProviderType public final class GeneratorFactory extends java.lang.Object
Factory class for parameter generator rules.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Generator<T>
list(T... values)
Generates aListGenerator
instance.
-
-
-
Method Detail
-
list
@SafeVarargs public static <T> Generator<T> list(T... values)
Generates aListGenerator
instance.- Type Parameters:
T
- Parameter type- Parameters:
values
- List of values.- Returns:
- Parameter generator rule
-
-