Tests.ExtentionsTests.http_unhandled_exception_alone_should_log C# (CSharp) Method

http_unhandled_exception_alone_should_log() private method

private http_unhandled_exception_alone_should_log ( ) : void
return void
        public void http_unhandled_exception_alone_should_log()
        {
            var client = new FakeAirbrakeClient();
            var exception = new HttpUnhandledException("unhandled");

            exception.SendToAirbrake(client: client);

            Assert.AreEqual(1, client.SentExceptions.Count);
            Assert.AreEqual(1, client.SentNotices.Count);
            Assert.AreEqual("unhandled", client.SentExceptions[0].Message);

        }