             }
             onCompletion(result)
         }
-        onTypedSucess = { anyResult in
+        onTypedSuccess = { anyResult in
             guard let typedResult =  anyResult as? T.Model else {
                 fatalError("Extected type of \(T.Model.self)")
             }

        }
        onErrorCallback = nil
        onSuccess = nil
        onTypedSucess = nil
    }
    
    /// Will return a sucessful request, by using the given type `T` as serialized result of a request.
    ///
    /// **Warning:** This will crash if type `T` does not match your expected ResponseType of your current request
    ///
    /// - Parameters:
    ///   - data: the mock response from the server. `Data()` by default
    ///   - count: the count how often the response gets triggerd. 1 by default
    public func returnSucess<T>(with serializedResponse: T, count: Int = 1) {
        for _ in 0...count {
            onTypedSucess?(serializedResponse)
        }
        onErrorCallback = nil
        onSuccess = nil
        onTypedSucess = nil
    }
}

        }
        onErrorCallback = nil
        onSuccess = nil
        onTypedSuccess = nil
    }
    
    /// Will return a successful request, by using the given data as a server response.
    ///
    /// - Parameters:
    ///   - data: the mock response from the server. `Data()` by default
