     func testMinuteDurationNumberOfRows() {
         durationPickerView.maximumDuration = 60
         
-        XCTAssertEqual(durationPickerView.pickerView(durationPickerView, numberOfRowsInComponent: 0), 2)
+        XCTAssertEqual(durationPickerView.numberOfRowsInComponent(0), 2)
     }
     
     func testSubHourDurationNumberOfComponents() {

    func testHourDurationNumberOfRows() {
        durationPickerView.maximumDuration = 3600

        XCTAssertEqual(durationPickerView.pickerView(durationPickerView, numberOfRowsInComponent: 0), 2)

    }
}

    func testSubHourDurationNumberOfRows() {
        durationPickerView.maximumDuration = 360
        
        XCTAssertEqual(durationPickerView.numberOfRowsInComponent(0), 7)
    }
    
    func testHourDurationNumberOfComponents() {
