@Test
public void criteriaIsCorrectlySet() {

    final MongoQuery query = new MongoQuery(KNOWN_CRIT, knownSortOptions, defaultPageSizeFromConfig,
            MongoQueryBuilder.DEFAULT_SKIP);
    assertThat(query.getCriteria()).isEqualTo(KNOWN_CRIT);
}