예제 #1
0
        public void ReturnsAnEmptyWorkScheduleIfHtmlDocumentIsEmpty()
        {
            IWorkScheduleReader reader = new HtmlWorkScheduleReader(DocumentHelpers.EmptyDocument());

            WorkSchedule workSchedule = reader.Read();

            workSchedule.ShouldNotBeNull();
            workSchedule.Employee.ShouldBeEmpty();
            workSchedule.WorkShifts.ShouldBeEmpty();
        }