Closed aparra closed 11 years ago
Create a sequence function that supports only class [sequence(Long.class)].
e.g
Fixture.of(Student.class).addTemplate("valid", new Rule() {{ add("id", sequence(Long.class)); // sequence of long starting at 1L and incremented by 1L }});
Create a sequence function that supports only class [sequence(Long.class)].
e.g
Fixture.of(Student.class).addTemplate("valid", new Rule() {{ add("id", sequence(Long.class)); // sequence of long starting at 1L and incremented by 1L }});