 
         func buildResponseFromObject(object: AnyObject, URLResponse: NSHTTPURLResponse) throws -> Response {
             guard let response = object as? [String: AnyObject] else {
-                throw Errrors.Mock
+                throw Errors.Mock
             }
 
             return response

            case .Failure(let error):
                switch error {
                case .UnacceptableStatusCode(let error):
                    XCTAssert(error is MockAPI.Errrors)

                default:
                    XCTFail()

    }

    func buildErrorFromObject(object: AnyObject, URLResponse: NSHTTPURLResponse) -> ErrorType? {
        return MockAPI.Errors.Mock
    }
}

class MockAPI: API {
    enum Errors: ErrorType {
        case Mock
    }

