Exemple #1
0
 public void LocationSummary_EmptyPostcode()
 {
     Assert.AreEqual("Nottingham", PersonalDetailsExtensions.LocationSummary("NOTTINGHAM", ""));
 }
Exemple #2
0
 public void LocationSummary_LocalityAndPostcode()
 {
     Assert.AreEqual("Nottingham (NG5)", PersonalDetailsExtensions.LocationSummary("NOTTINGHAM", "NG5 1AA"));
 }
Exemple #3
0
 public void LocationSummary_NullLocality()
 {
     Assert.AreEqual("(NG5)", PersonalDetailsExtensions.LocationSummary(null, "ng5 1AA"));
 }
Exemple #4
0
 public void LocationSummary_NoInput()
 {
     Assert.AreEqual("", PersonalDetailsExtensions.LocationSummary(null, null));
 }