예제 #1
0
 public void PPageWithNullUrl_WhenFormatted_BecomesEmpty()
 {
     PPage formatting = new PPage {
         Url = null
     };
     formatting.Format();
     Assert.AreEqual(formatting.Url, string.Empty);
 }
예제 #2
0
 public void PPageWithNullTitle_WhenFormatted_BecomesEmpty()
 {
     PPage formatting = new PPage {
         Title = null
     };
     formatting.Format();
     Assert.AreEqual(formatting.Title, string.Empty);
 }