示例#1
0
        public void CannotSendSentException()
        {
            Exception exception = new InvalidOperationException("You cannot do that");

            _client.ExposeFlagAsSent(exception);
            Assert.IsFalse(_client.ExposeCanSend(exception));
        }
 public void FlagAsSentDoesNotCrash_DataDoesNotSupportStringKeys()
 {
     Assert.That(() => _client.ExposeFlagAsSent(new FakeException(new Dictionary <int, object>())), Throws.Nothing);
 }