Ejemplo n.º 1
0
        public void MongoDbExtensions_EqIgnoreCase_Return_Null_Filter_For_Invalid_Property()
        {
            var builder = new FilterDefinitionBuilder <Well>();

            Assert.IsNull(builder.EqIgnoreCase(string.Empty, "uid"));
            Assert.IsNull(builder.EqIgnoreCase(ObjectTypes.Uid, null));
            Assert.IsNull(builder.EqIgnoreCase(null, null));
        }