for (int i = 0; i < 10; i++) {
contact.set("name", "foo" + i);
createService.create(contact);
}
final ListQueryResult r = reader.fulltextSearchForModule(Contact.class.getSimpleName(), "foo", 0, 100);
assertEquals(10, r.getItemCount());
final ListQueryResult r2 = reader.fulltextSearchForModule(Contact.class.getSimpleName(), "foo1", 0, 100);
assertEquals(1, r2.getItemCount());
}