public void AddAlbum_sets_band_property_on_album() { var band = new BandModel(); var album = new Album(); band.AddAlbum(album); Assert.AreSame(band, album.Band); }
public void AddAlbum_increases_album_collection_by_one() { var band = new BandModel(); band.AddAlbum(new Album()); Assert.AreEqual(1, band.Albums.Count); }