public void ExceptionExcludesStackTrace() { var ex = new SilentTestException(TestOutcome.Error); Assert.IsTrue(ex.ExcludeStackTrace); }
public void OutcomeIsAsSpecifiedInConstructor() { var ex = new SilentTestException(TestOutcome.Error); Assert.AreEqual(TestOutcome.Error, ex.Outcome); }