nGramCheckCondition,catalogue );
SELECT statement = new SELECT(new FROM(catalogue
.getCatalogueProperties()), new WHERE(condition));
IQueryResult result = statement.execute();
assertTrue( result.contains(cat));
assertTrue( result.contains(tp1));
assertTrue( result.contains(tp2));
assertEquals(3, result.size());
assertTrue(condition.getHits().containsKey(cat));
assertTrue(condition.getHits().get(cat).containsKey("name"));
assertTrue(condition.getHits().get(cat).get("name").containsKey("cat"));
assertEquals((Integer) 1, condition.getHits().get(cat).get("name").get("cat"));