Exemplo n.º 1
0
        public void OnlyIncludeScheduledDays()
        {
            IWorkScheduleReader reader = new HtmlWorkScheduleReader(DocumentHelpers.DocumentWithDays());

            WorkSchedule workSchedule = reader.Read();

            workSchedule.ShouldNotBeNull();
            workSchedule.Employee.ShouldBe("John Doe");
            workSchedule.WorkShifts.Count().ShouldBe(3);
        }