public void TestBsonRegularExpressionEquals()
{
BsonRegularExpression lhs = new BsonRegularExpression("pattern", "options");
BsonRegularExpression rhs = new BsonRegularExpression("pattern", "options");
Assert.AreNotSame(lhs, rhs);
Assert.AreEqual(lhs, rhs);
Assert.AreEqual(lhs.GetHashCode(), rhs.GetHashCode());
}