public void TestBsonDocumentEquals()
{
BsonDocument lhs = new BsonDocument
{
{ "Hello", "World" },
{ "Foo", "Bar" }
};
BsonDocument rhs = new BsonDocument
{
{ "Hello", "World" },
{ "Foo", "Bar" }
};
Assert.AreNotSame(lhs, rhs);
Assert.AreEqual(lhs, rhs);
Assert.AreEqual(lhs.GetHashCode(), rhs.GetHashCode());
}