                                       .tuesday : (openTime: opening, closeTime: dateComponents(withHour: 2, minute: 0)),
                                       .wednesday : (openTime: opening, closeTime: dateComponents(withHour: 2, minute: 0))])
         let date = wednesday(atHour: 3, minute: 0)
-        isClosed(openHours: hours, time: date)
+        assertIsClosed(openHours: hours, time: date)
     }
 
     func testIsClosedWhenCurrentTimeMatchesClosingTimeAfterMidnight() {

                                      .tuesday : (openTime: opening, closeTime: dateComponents(withHour: 2, minute: 0)),
                                      .wednesday : (openTime: opening, closeTime: dateComponents(withHour: 2, minute: 0))])
        let date = wednesday(atHour: 2, minute: 0)
        isClosed(openHours: hours, time: date)
    }

    private func isOpen(openHours: OpenHours, time: Date) {
        XCTAssertTrue(openHours.isOpen(atTime: time), "Expected open for \(time)")
    }

    private func isClosed(openHours: OpenHours, time: Date) {
        XCTAssertFalse(openHours.isOpen(atTime: time), "Expected closed for \(time)")
    }


                                      .monday : (openTime: dateComponents(withHour: 7, minute: 0), closeTime: dateComponents(withHour: 21, minute: 0)),
                                      .tuesday : (openTime: dateComponents(withHour: 7, minute: 0), closeTime: dateComponents(withHour: 21, minute: 0))])
        let date = monday(atHour: 21, minute: 00)
        assertIsClosed(openHours: hours, time: date)
    }

    func testIsOpenWhenCurrentTimeIsBeforeMidnightAndClosingTimeIsAfterMidnight() {
