public void http_exception_404_should_not_send() { var client = new FakeAirbrakeClient(); var exception = new HttpException(404, "not found"); exception.SendToAirbrake(client: client); Assert.AreEqual(0, client.SentExceptions.Count); Assert.AreEqual(0, client.SentNotices.Count); }