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

            action.Should().Throw <CodeException>();
        }
Example #3
0
 public void ShouldThrowExceptionWhenBeFalseCheckTrueValue()
 {
     Should.BeFalse(true, () => new CodeException());
 }