Ejemplo n.º 1
0
        public void TestSetValidationLevel()
        {
            var options  = CollectionOptions.SetValidationLevel(DocumentValidationLevel.Strict);
            var expected = "{ \"validationLevel\" : \"strict\" }";

            Assert.AreEqual(expected, options.ToJson());
        }