private void SetDaysSchedule() { _days = new List <Day>(); _tracks = new List <Track>(); for (var i = 0; i < 2; i++) { _tracks.Add(ConferenceTrackDataSeed.GetNewTrack()); } _days.Add(new Day(_tracks)); }
public void NotRegisterTalksIfItCannotBeScheduled() { _testConference = new Conference(_scheduler, new List <Day>() { new Day(new List <Track>() { ConferenceTrackDataSeed.GetNewTrack() }) }); _testConference.TalksLoader = new FileTalksLoader(ConferenceTrackDataSeed.GetTalksListOne()); _testConference.RegisterTalks(); }