     }
 
     func buildErrorFromObject(object: AnyObject, URLResponse: NSHTTPURLResponse) -> ErrorType? {
-        return MockAPI.Errrors.Mock
+        return MockAPI.Errors.Mock
     }
 }
 
 class MockAPI: API {
-    enum Errrors: ErrorType {
+    enum Errors: ErrorType {
         case Mock
     }
 

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

                default:
                    XCTFail()


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

            return response
