func testGetPlace()

in source/UberRidesTests/ObjectMappingTests.swift [671:686]


    func testGetPlace() {
        let bundle = Bundle(for: ObjectMappingTests.self)
        if let path = bundle.path(forResource: "place", ofType: "json") {
            if let jsonData = try? Data(contentsOf: URL(fileURLWithPath: path)) {
                guard let place = try? JSONDecoder.uberDecoder.decode(Place.self, from: jsonData) else {
                    XCTAssert(false)
                    return
                }
                
                XCTAssertEqual(place.address, "685 Market St, San Francisco, CA 94103, USA")
                return
            }
        }
        
        XCTAssert(false)
    }