test_class.declarator: KNOWN_CRIT = mock(Criteria.class)
test_class.modifier: private static final
test_class.original_string: private static final Criteria KNOWN_CRIT = mock(Criteria.class);
test_class.type: Criteria
test_class.var_name: KNOWN_CRIT
test_class.declarator: EFT = new ThingsFieldExpressionFactoryImpl()
test_class.modifier: private static final
test_class.original_string: private static final ThingsFieldExpressionFactory EFT = new ThingsFieldExpressionFactoryImpl();
test_class.type: ThingsFieldExpressionFactory
test_class.var_name: EFT
test_class.declarator: defaultPageSizeFromConfig
test_class.modifier: private static
test_class.original_string: private static int defaultPageSizeFromConfig;
test_class.type: int
test_class.var_name: defaultPageSizeFromConfig
test_class.declarator: knownSortOptions
test_class.modifier: private
test_class.original_string: private List<SortOption> knownSortOptions;
test_class.type: List<SortOption>
test_class.var_name: knownSortOptions
test_class.declarator: knownSortOptionsExpectedBson
test_class.modifier: private
test_class.original_string: private Bson knownSortOptionsExpectedBson;
test_class.type: Bson
test_class.var_name: knownSortOptionsExpectedBson
test_class.file: services/thingsearch/persistence/src/test/java/org/eclipse/ditto/services/thingsearch/persistence/read/query/MongoQueryTest.java
test_class.identifier: MongoQueryTest
test_case.body: @Test
      public void criteriaIsCorrectlySet() {
          final MongoQuery query = new MongoQuery(KNOWN_CRIT, knownSortOptions, defaultPageSizeFromConfig,
                  MongoQueryBuilder.DEFAULT_SKIP);
  
          assertThat(query.getCriteria()).isEqualTo(KNOWN_CRIT);
      }
test_case.class_method_signature: MongoQueryTest.criteriaIsCorrectlySet()
test_case.full_signature: @Test public void criteriaIsCorrectlySet()
test_case.identifier: criteriaIsCorrectlySet
test_case.invocations: isEqualTo assertThat getCriteria
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void criteriaIsCorrectlySet()
focal_class.declarator: criteria
focal_class.modifier: private final
focal_class.original_string: private final Criteria criteria;
focal_class.type: Criteria
focal_class.var_name: criteria
focal_class.declarator: sortOptions
focal_class.modifier: private final
focal_class.original_string: private final List<SortOption> sortOptions;
focal_class.type: List<SortOption>
focal_class.var_name: sortOptions
focal_class.declarator: limit
focal_class.modifier: private final
focal_class.original_string: private final int limit;
focal_class.type: int
focal_class.var_name: limit
focal_class.declarator: skip
focal_class.modifier: private final
focal_class.original_string: private final int skip;
focal_class.type: int
focal_class.var_name: skip
focal_class.file: services/thingsearch/persistence/src/main/java/org/eclipse/ditto/services/thingsearch/persistence/read/query/MongoQuery.java
focal_class.identifier: MongoQuery
focal_class.interfaces: implements Query
focal_class.class_method_signature: MongoQuery.MongoQuery(final Criteria criteria,
              final List<SortOption> sortOptions,
              final int limit,
              final int skip)
focal_class.full_signature: public  MongoQuery(final Criteria criteria,
              final List<SortOption> sortOptions,
              final int limit,
              final int skip)
focal_class.identifier: MongoQuery
focal_class.modifiers: public
focal_class.parameters: (final Criteria criteria,
              final List<SortOption> sortOptions,
              final int limit,
              final int skip)
focal_class.signature:  MongoQuery(final Criteria criteria,
              final List<SortOption> sortOptions,
              final int limit,
              final int skip)
focal_class.class_method_signature: MongoQuery.getCriteria()
focal_class.full_signature: @Override public Criteria getCriteria()
focal_class.identifier: getCriteria
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Criteria
focal_class.signature: Criteria getCriteria()
focal_class.class_method_signature: MongoQuery.getSortOptions()
focal_class.full_signature: @Override public List<SortOption> getSortOptions()
focal_class.identifier: getSortOptions
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<SortOption>
focal_class.signature: List<SortOption> getSortOptions()
focal_class.class_method_signature: MongoQuery.getLimit()
focal_class.full_signature: @Override public int getLimit()
focal_class.identifier: getLimit
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getLimit()
focal_class.class_method_signature: MongoQuery.getSkip()
focal_class.full_signature: @Override public int getSkip()
focal_class.identifier: getSkip
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSkip()
focal_class.class_method_signature: MongoQuery.withCriteria(final Criteria criteria)
focal_class.full_signature: @Override public Query withCriteria(final Criteria criteria)
focal_class.identifier: withCriteria
focal_class.modifiers: @Override public
focal_class.parameters: (final Criteria criteria)
focal_class.return: Query
focal_class.signature: Query withCriteria(final Criteria criteria)
focal_class.class_method_signature: MongoQuery.getSortOptionsAsBson()
focal_class.full_signature: public Bson getSortOptionsAsBson()
focal_class.identifier: getSortOptionsAsBson
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Bson
focal_class.signature: Bson getSortOptionsAsBson()
focal_class.class_method_signature: MongoQuery.equals(final Object o)
focal_class.full_signature: @Override public boolean equals(final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object o)
focal_class.class_method_signature: MongoQuery.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: MongoQuery.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
      public Criteria getCriteria() {
          return criteria;
      }
focal_method.class_method_signature: MongoQuery.getCriteria()
focal_method.full_signature: @Override public Criteria getCriteria()
focal_method.identifier: getCriteria
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Criteria
focal_method.signature: Criteria getCriteria()