public static void CtorWithInner() { var inner = new Exception(); var withInner = new RedlockException("s", inner); Assert.Equal("s", withInner.Message); Assert.Equal(inner, withInner.InnerException); }
public static void Ctor() { var _ = new RedlockException(); }
public static void CtorWithMsg() { var withInner = new RedlockException("s"); Assert.Equal("s", withInner.Message); }