Example #1
0
 public void ShouldNotThrowExceptionWhenBeTrueCheckTrueValue()
 {
     Should.BeTrue(true, () => new CodeException());
 }
Example #2
0
        public void ShouldThrowExceptionWhenBeTrueCheckFalseValue()
        {
            var action = new Action(() => Should.BeTrue(false, () => new CodeException()));

            action.Should().Throw <CodeException>();
        }
Example #3
0
 public void ShouldThrowExceptionWhenBeTrueCheckFalseValue()
 {
     Should.BeTrue(false, () => new CodeException());
 }