@Test
public void testCountWithEmptyFilter() throws InvalidArgumentException, QueryBuildException {

    IObject criteria = new DSObject("{ \"filter\": { } }");
    PostgresSchema.count(statement, collection, criteria);
    assertEquals("SELECT COUNT(*) FROM test_collection WHERE (TRUE)", body.toString());
    verify(statement, times(0)).pushParameterSetter(any());
}