My object has a list of Enum, and Fixture Factory doesn´t support this need.
E.G:
Fixture.of(Empresa.class).addTemplate("valid", new Rule() {{
add("idenficacao", fixture(Idenficacao.class, "valid"));
add("unidade", fixture(Unidade.class, "valid"));
add("modalidades", has(2).of(Enum.class); // that´s what we need
}});
My object has a list of Enum, and Fixture Factory doesn´t support this need.
E.G: