public void SingleOoCollectionTest() { var start = new DateTime(2020, 09, 18, 15, 30, 00); var slot = new Timeslot { CalendarId = 1, StartDateTime = start, EndDateTime = start.AddDays(2), TeacherId = 1 }; var slotList = slot.DetermineSingleOrCollectionTimeslots(); Assert.IsTrue(slotList.Count == 1); }