Example #1
0
        public static void CtorWithInner()
        {
            var inner     = new Exception();
            var withInner = new RedlockException("s", inner);

            Assert.Equal("s", withInner.Message);
            Assert.Equal(inner, withInner.InnerException);
        }
Example #2
0
 public static void Ctor()
 {
     var _ = new RedlockException();
 }
Example #3
0
        public static void CtorWithMsg()
        {
            var withInner = new RedlockException("s");

            Assert.Equal("s", withInner.Message);
        }