public TeamTO(Team mdo) { this.id = mdo.Id; this.name = mdo.Name; this.pcpName = mdo.PcpName; this.attendingName = mdo.AttendingName; }
public void testEmptyConstructor() { Team theTeam = new Team(); Assert.IsNull(theTeam.Id); Assert.IsNull(theTeam.Name); }
public void testConstructor() { Team theTeam = new Team("any ID", "Joe Foo"); Assert.AreEqual("any ID", theTeam.Id); Assert.AreEqual("Joe Foo", theTeam.Name); }