public void EquivalentToDocumentNotMatch()
        {
            BsonDocument doc1 = new BsonDocument();
            BsonDocument doc2 = new BsonDocument();

            doc1.Add("BsonString", "string value");
            doc2.Add("BsonString", "string value");

            doc1.Add("BsonInt", 42);
            doc2.Add("BsonInt", -42);

            doc1.Add("BsonBoolean", false);
            doc2.Add("BsonBoolean", false);

            Assert.IsFalse(doc1.EquivalentTo(doc2));
        }
        public void EquivalentToDocumentNotDocument()
        {
            BsonDocument doc1 = new BsonDocument
                                {
                                    { "BsonString", "string value" }
                                };

            const string valString2 = "Test String";

            Assert.IsFalse(doc1.EquivalentTo(valString2));
        }