public class PersonneServiceSeachTests extends XRaceTestCase
{
@Override
protected void onSetUpInTransaction() throws Exception
{
Personne personne;
final Federation pays = getFederationService().findByCode("CAN");
personne = new Personne("Coté", "Marc - André", "pas important",
"Québec", "G1B 2U8", "455-909-9090", new GregorianCalendar(
1970, 0, 1).getTime(), "M", pays.getProvinces().get(0),
pays, pays);
getPersonneService().save(personne);
personne = new Personne("Cote", "MarcAndre", "pas important", "Québec",
"G1B 2U8", "455-909-9090", new GregorianCalendar(1970, 0, 1)
.getTime(), "M", pays.getProvinces().get(0), pays, pays);
getPersonneService().save(personne);
personne = new Personne("Cote", "Marc Andre", "pas important",
"Québec", "G1B 2U8", "455-909-9090", new GregorianCalendar(
1970, 0, 1).getTime(), "M", pays.getProvinces().get(0),
pays, pays);
getPersonneService().save(personne);
personne = new Personne("Cote", "Marc Andre", "pas important",
"Québec", "G1B 2U8", "455-909-9090", new GregorianCalendar(
1970, 1, 1).getTime(), "M", pays.getProvinces().get(0),
pays, pays);
getPersonneService().save(personne);
personne = new Personne("Lapierre", "Marc - André", "pas important",
"Québec", "G1B 2U8", "455-909-9090", new GregorianCalendar(
1970, 0, 1).getTime(), "M", pays.getProvinces().get(0),
pays, pays);
getPersonneService().save(personne);
personne = new Personne("Lapierre", "Marc-André", "pas important",
"Québec", "G1B 2U8", "455-909-9090", new GregorianCalendar(
1970, 1, 1).getTime(), "M", pays.getProvinces().get(0),
pays, pays);
getPersonneService().save(personne);