public void Equals_should_be_false_when_both_have_different_results()
        {
            var subject1 = new BuildInfoResult(new BsonDocument("x", 1));
            var subject2 = new BuildInfoResult(new BsonDocument("x", 2));

            subject1.Equals(subject2).Should().BeFalse();
        }
        public void Equals_should_be_true_when_both_have_the_same_result()
        {
            var subject1 = new BuildInfoResult(new BsonDocument("x", 1));
            var subject2 = new BuildInfoResult(new BsonDocument("x", 1));

            subject1.Equals(subject2).Should().BeTrue();
        }
        // methods
        /// <inheritdoc/>
        public bool Equals(ConnectionDescription other)
        {
            if (other == null)
            {
                return(false);
            }

            return
                (_buildInfoResult.Equals(other._buildInfoResult) &&
                 _connectionId.StructurallyEquals(other._connectionId) &&
                 _isMasterResult.Equals(other._isMasterResult));
        }