private void VerifyPlayListHasBeenPersistedWith(string aPlaylistId, PlayListStatus status) { playListPersistence.Received().Persist(Arg.Is <PlayList>(playlist => playlist.Id.Equals(aPlaylistId) && playlist.Status.Equals(status) )); }
public PlayList(string id, string name, PlayListStatus status, List <Track> trackList, string imageUrl) { Id = id; Name = name; Status = status; TrackList = trackList; ImageUrl = imageUrl; }
public PlayListBuilder WithStatus(PlayListStatus status) { this.status = status; return(this); }