public void ShouldNotThrowExceptionWhenBeTrueCheckTrueValue() { Should.BeTrue(true, () => new CodeException()); }
public void ShouldNotThrowExceptionWhenNotNullCheckNotNullValue() { Should.NotNull("", () => new CodeException()); Should.NotNull(1, () => new CodeException()); Should.NotNull(new object(), () => new CodeException()); }
public void ShouldThrowExceptionWhenNotBlankCheckBlankString() { Should.NotBlank(" \t ", () => new CodeException()); }
public void ShouldNotThrowExceptionWhenNotEmptyCheckNullCollection() { IEnumerable <string> enumerable = null; Should.NotEmpty(enumerable, () => new CodeException()); }
public void ShouldThrowExceptionWhenNotBlankCheckNullString() { Should.NotBlank(null, () => new CodeException()); }
public void ShouldNotThrowExceptionWhenNotEmptyCheckEmptyCollection() { Should.NotEmpty(new string[0], () => new CodeException()); }
public void ShouldNotThrowExceptionWhenNotEmptyCheckNotEmptyCollection() { Should.NotEmpty(new[] { 1 }, () => new CodeException()); }
public void ShouldThrowExceptionWhenNotEmptyCheckEmptyString() { Should.NotEmpty("", () => new CodeException()); }
public void ShouldThrowExceptionWhenNotNullCheckNullValue() { Should.NotNull(null, () => new InvalidOperationException()); }
public void ShouldNotThrowExceptionWhenBeFalseCheckFalseValue() { Should.BeFalse(false, () => new CodeException()); }