 
 class AKParameterAutomationTests: AKTestCase {
 
-    func observerTest(automation: [AKAutomationEvent],
+    func observerTest(events: [AKAutomationEvent],
                       sampleTime: Float64,
                       startTime: Double = 0) -> ([AUParameterAddress], [AUValue], [AUAudioFrameCount]) {
 


    func testFutureAutomation() {

        let automationPoints = [ AKAutomationEvent(targetValue: 880, startTime: 1, rampDuration: 0.1) ]

        let (addresses, values, _) = observerTest(automation: automationPoints, sampleTime: 0)

        // If the automation is in the future, we should not get anything.
        XCTAssertEqual(addresses, [])

            durations.append(rampDuration)
        }

        let observer: AURenderObserver = events.withUnsafeBufferPointer { automationPtr in
            AKParameterAutomationGetRenderObserver(address,
                                                   scheduleParameterBlock,
                                                   44100,
                                                   startTime, // start time
                                                   automationPtr.baseAddress!,
                                                   events.count)
        }

        var timeStamp = AudioTimeStamp()
