     // **MUST** call in every method you want to spy
     func recordCall(function function: String, arguments: Any...)
     
-    // Used if you want to reset the called function/parameters lists
+    // Used if you want to reset the called function/arguments lists
     func clearRecordedLists()
     
     

    return functionList.enumerate().map { functionName == $1 ? $0 : -1 }.filter { $0 != -1 }
}

private func isEqualParamsLists(passedParams passedParams: Array<Any>, recordedParams: Array<Any>) -> Bool {
    if passedParams.count != recordedParams.count {
        return false
    }
    
    for var index = 0; index < recordedParams.count; index++ {
        let passedParam = passedParams[index]
        let recordedParam = recordedParams[index]
        
        if !isEqualParams(passedParam: passedParam, recordedParam: recordedParam) {
            return false
        }
    }

    
    for index in potentialMatchIndexes {
        let recordedArgsList = argsLists[index]
        if isEqualArgsLists(passedArgs: argsList, recordedArgs: recordedArgsList) {
            correctCallsCount++
        }
    }
