public void ForbiddenWithMessage_Success_Should_CreateBusinessException_Detail_WithForbiddenStatusCodeAndSpecificMessage() { const string message = "Testing"; var ex = BusinessException.ForbiddenWithMessage(message); ex.StatusCode.Should().Be(HttpStatusCode.Forbidden); ex.StatusCodeNumber.Should().Be((int)HttpStatusCode.Forbidden); ex.Message.Should().Be(message); }