Пример #1
0
 public TeamTO(Team mdo)
 {
     this.id = mdo.Id;
     this.name = mdo.Name;
     this.pcpName = mdo.PcpName;
     this.attendingName = mdo.AttendingName;
 }
Пример #2
0
 public void testEmptyConstructor()
 {
     Team theTeam = new Team();
     Assert.IsNull(theTeam.Id);
     Assert.IsNull(theTeam.Name);
 }
Пример #3
0
 public void testConstructor()
 {
     Team theTeam = new Team("any ID", "Joe Foo");
     Assert.AreEqual("any ID", theTeam.Id);
     Assert.AreEqual("Joe Foo", theTeam.Name);
 }