         let data = mockJsonData(from: isPlayingAndIsFullScreenTypeMismatch)
         XCTAssertThrowsError(try JSONDecoder().decode(Video.self, from: data))
     }
-  
+
     private func mockJsonData(from json: String) -> Data {
         return Data(json.utf8)
     }

    func testDecodeBoolAsIntOrStringDataAsStringSuccessful() {
        let isPlayingAndIsFullScreenAsString = #"{"isPlaying": "true", "isFullScreen": "false"}"#
        let data = mockJsonData(from: isPlayingAndIsFullScreenAsString)
        let video = try! JSONDecoder().decode(Video.self, from: data)
        XCTAssertTrue(video.isPlaying)
        XCTAssertEqual(video.isFullScreen, false)
    }

    func testDecodeBoolAsIntOrStringDataAsIntSuccessful() {
        let isPlayingAndIsFullScreenAsInt = #"{"isPlaying": 1, "isFullScreen": 0}"#
        let data = mockJsonData(from: isPlayingAndIsFullScreenAsInt)
        let video = try! JSONDecoder().decode(Video.self, from: data) // swiftlint:disable:this force_try
        XCTAssertTrue(video.isPlaying)
        XCTAssertEqual(video.isFullScreen, false)
    }
