public static void Ctor2() { var message = "My message"; var ex = new ControlFlowException(message); Assert.Equal(message, ex.Message); }
public static void Ctor3() { var message = "My message"; var innerException = new My.SimpleException(); var ex = new ControlFlowException(message, innerException); Assert.Equal(message, ex.Message); Assert.Same(innerException, ex.InnerException); }
public static void Ctor1() { var ex = new ControlFlowException(); Assert.NotNull(ex.Message); }