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