assertEquals(2, choiceManager.filterByProperty("id__ne", "votes").count());
assertEquals(2, choiceManager.filterByProperty("id__gt", "votes").count());
}
public void testMultipleJoinSearches() throws Exception {
Injector injector = Guice.createInjector(new HibernateModule());
AnnotationConfiguration cfg = injector.getInstance(HibernateUtil.class).getConfiguration();
new SchemaExport(cfg).drop(false, true);
new SchemaExport(cfg).create(false, true);
Managers managers = injector.getInstance(Managers.class);