[Test] public void CancellationExceptionWithMessageAndException()
        {
            var sut = new CancellationException(s, e);

            Assert.That(sut.Message, Is.EqualTo(s));
            Assert.That(sut.InnerException, Is.SameAs(e));
        }
 public void CancellationExceptionWithMessageAndException()
 {
     var sut = new CancellationException(s, e);
     Assert.That(sut.Message, Is.EqualTo(s));
     Assert.That(sut.InnerException, Is.SameAs(e));
 }
 public void CancellationExceptionWithMessage()
 {
     var sut = new CancellationException(s);
     Assert.That(sut.Message, Is.EqualTo(s));
 }
        [Test] public void CancellationExceptionWithMessage()
        {
            var sut = new CancellationException(s);

            Assert.That(sut.Message, Is.EqualTo(s));
        }