Esempio n. 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);
        }
Esempio n. 2
0
 public static void Ctor()
 {
     var _ = new RedlockException();
 }
Esempio n. 3
0
        public static void CtorWithMsg()
        {
            var withInner = new RedlockException("s");

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