Esempio n. 1
0
        public void ThenItShouldAppendEqualsConditionsToQuery(string type)
        {
            var query = new CosmosQuery(CosmosCombinationOperator.And);

            query.AddTypeCondition(type);

            Assert.AreEqual($"{CosmosQueryTestConstants.QueryPrefix} WHERE re.type = '{type.ToLower()}'", CosmosQueryTestConstants.QueryWithoutOrderByOrSkip(query));
        }