public void ShouldHave400BadRequestError()
        {
            // Arrange
            string testMessage = "TestMessage1";

            // Act
            var result  = ResultExtensions.Create400BadRequestResult(testMessage).LogError();
            var result2 = Result.Fail("").Add400BadRequestError(testMessage);

            // Assert
            result.Has400BadRequestError().Should().BeTrue();
            result.Has404NotFoundError().Should().BeFalse();
            result.Errors.Count.Should().Be(1);
            result.Errors[0].Message.Should().Be(testMessage);

            result2.Has400BadRequestError().Should().BeTrue();
            result2.Has404NotFoundError().Should().BeFalse();
            result2.Errors.Count.Should().Be(2);
            result2.Errors[1].Message.Should().Be(testMessage);
        }