Пример #1
0
 public void StatusUtils_GetXmlStatusId_Throws_Exception()
 {
     Assert.Throws <Exception>(
         () => StatusUtils.GetXmlStatusId("ABC"));
 }
Пример #2
0
 public void StatusUtils_CanGetXmlStatusId(string status, string expected)
 {
     Assert.AreEqual(expected, StatusUtils.GetXmlStatusId(status));
 }