Closed aparra closed 11 years ago
Example:
public class Any { private Long id; }
Fixture.of(Any.class).addTemplate("valid", new Rule(){{ add("id", regex("\d{3,5}")); });
The regex function yields a value not compatible with id.
Example:
public class Any { private Long id; }
Fixture.of(Any.class).addTemplate("valid", new Rule(){{ add("id", regex("\d{3,5}")); });
The regex function yields a value not compatible with id.