     }
 
 
-    func test_deserialize_incidentTypes() throws {
+    func test_deserialize_incidentTypes() {
         let json: IncidentDictionary = [
             "number": 1,
             "incident_types": ["Medical", "Fire"]
         ]
 
-        let incident = try incidentFromJSON(json)
+        let incident: Incident
+        do { incident = try incidentFromJSON(json) }
+        catch { return XCTFail("\(error)") }
 
         XCTAssertEqual(
             incident,

    }


    func test_deserialize_summary() throws {
        let json = [ "number": 1, "summary": "Cheese and pickles" ]

        let incident = try incidentFromJSON(json)

        XCTAssertEqual(
            incident,

    }


    func test_deserialize_state() {
        let json = [ "number": 1, "state": "on_scene" ]

        let incident: Incident
        do { incident = try incidentFromJSON(json) }
        catch { return XCTFail("\(error)") }

        XCTAssertEqual(
            incident,
