public void Returns_EmptyOrNull_From_Null() { Assert.IsEmpty(FormatString.ToHtmlParagraph(null)); Assert.IsEmpty(FormatString.ToHtmlParagraph(null, false)); Assert.IsNull(FormatString.ToHtmlParagraph(null, true, true)); Assert.IsNull(FormatString.ToHtmlParagraph(null, false, true)); }
public void Returns_EmptyOrNull_From_Null() { Assert.IsEmpty(FormatString.ToCompactWhiteSpace(null)); Assert.IsNull(FormatString.ToCompactWhiteSpace(null, true)); }
public void Returns_Null_From_Null() { Assert.IsNull(FormatString.ToNullIfEmpty(null)); }
public void Returns_Empty_From_Null() { Assert.IsEmpty(FormatString.ToEmptyIfNull(null)); }