예제 #1
0
 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));
 }
예제 #2
0
 public void Returns_EmptyOrNull_From_Null()
 {
     Assert.IsEmpty(FormatString.ToCompactWhiteSpace(null));
     Assert.IsNull(FormatString.ToCompactWhiteSpace(null, true));
 }
예제 #3
0
 public void Returns_Null_From_Null()
 {
     Assert.IsNull(FormatString.ToNullIfEmpty(null));
 }
예제 #4
0
 public void Returns_Empty_From_Null()
 {
     Assert.IsEmpty(FormatString.ToEmptyIfNull(null));
 }