public void GetEndHour_WhenCalled_ReturnsEndHourInDay(DayOfWeek dayOfWeek) { workScheduleFixture.DefineRange(dayOfWeek, 9, 17, WorkSchedule.State.Work); Expect(() => workScheduleFixture.GetEndHour(dayOfWeek), Is.EqualTo(17)); }