 
 class RequestErrorTests: XCTestCase {
     static var allTests = [
-        ("testErrorFromJSON", testErrorFromJSON)
+        ("testErrorWithValidJSON", testErrorWithValidJSON),
+        ("testErrorWithInvalidJSON", testErrorWithInvalidJSON)
     ]
 
     var errorFixture: Any!

            break
        }
    }
}

        errorFixture = try? Fixture.load(fileName: "Fixtures/RequestError.json")
    }

    func testErrorWithValidJSON() {
        let dictionary = errorFixture as! JSONDictionary
        let requestError = RequestError(json: dictionary)

