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 virtual Band AddMember(Member member) { member.Band = this; Members.Add(member); return this; }