コード例 #1
0
 private static void AssertEqual(ContactCategoryDto expected, ContactCategoryDto actual)
 {
     Assert.AreEqual(expected.Uid, actual.Uid, "Different uid.");
     Assert.AreEqual(expected.Type, actual.Type, "Different type.");
     Assert.AreEqual(expected.Name, actual.Name, "Different name.");
 }
コード例 #2
0
 public ContactCategoryDto GetContactCategory(string type, string name)
 {
     ContactCategoryDto dto = new ContactCategoryDto();
     dto.Type = type;
     dto.Name = this.TestUid + name;
     return dto;
 }