/// <summary> /// Creates a new <see cref="XMLClientManager"/>. /// </summary> public XMLClientManager() { var client = new Client("Hasbro", "HB"); client.AddWorkType("Federal"); _clients.Add(client); client = new Client("Bank of America", "BOA"); client.AddWorkType("Federal"); client.AddWorkType("State", "BOAS"); _clients.Add(client); }
public void Client_DuplicateWorkTypesUnderDifferentChargeCodesThrows() { var client = new Client("Foo", "default"); client.AddWorkType("type", "Foo1"); client.AddWorkType("type", "Foo2"); }
public void Client_WorkTypeGivenDefaultChargeCode() { var client = new Client("Foo", "default"); client.AddWorkType("work"); Assert.AreEqual("default", client.GetChargeCodeFromWorkType("work")); }
public void Client_DuplicateWorkTypeDoesntThrow() { var client = new Client("Foo", "default"); client.AddWorkType("type"); client.AddWorkType("type"); }