示例#1
0
 public void Client_WorkTypeGivenDefaultChargeCode()
 {
     var client = new Client("Foo", "default");
     client.AddWorkType("work");
     Assert.AreEqual("default", client.GetChargeCodeFromWorkType("work"));
 }
示例#2
0
 public void Client_NoWorkTypeGivesDefaultChargeCode()
 {
     var client = new Client("Foo", "default");
     Assert.AreEqual("default", client.GetChargeCodeFromWorkType(string.Empty));
 }