public void AddMember_sets_band_property_on_member() { var band = new BandModel(); var member = new Member(); band.AddMember(member); Assert.AreSame(band, member.Band); }
public void AddMember_increases_member_collection_by_one() { var band = new BandModel(); band.AddMember(new Member()); Assert.AreEqual(1, band.Members.Count); }