I don't know how to call gimme passing property name and value in a nice way. Maybe if we can define a new Rule on gimme call:
Fixture.from(User.class).gimme("valid", new Rule() {{ add("name", "nykolas"); }});
Do you guys have any good idea on how we can implement this? @ahirata @aparra @douglasrodrigo @bjornnborg
Define property's value in generated fixture on
gimme
call.Example:
Fixture.from(User.class).gimme("valid", "name", "nykolas");
I don't know how to call
gimme
passing property name and value in a nice way. Maybe if we can define a newRule
ongimme
call:Fixture.from(User.class).gimme("valid", new Rule() {{ add("name", "nykolas"); }});
Do you guys have any good idea on how we can implement this? @ahirata @aparra @douglasrodrigo @bjornnborg