DailyView/Carthage/Checkouts/facebook-ios-sdk/FBSDKGamingServicesKit/FBSDKGamingServicesKitTests/GamingVideoUploaderConfigurationTests.swift
2025-12-30 16:40:31 +08:00

24 lines
693 B
Swift

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
@testable import FBSDKGamingServicesKit
import XCTest
final class GamingVideoUploaderConfigurationTests: XCTestCase {
let url = URL(string: "file://video.mp4")! // swiftlint:disable:this force_unwrapping
let caption = "Cool Video"
lazy var configuration = GamingVideoUploaderConfiguration(videoURL: url, caption: caption)
func testValuesAreSavedToConfiguration() {
XCTAssertEqual(configuration.caption, caption)
XCTAssertEqual(configuration.videoURL, url)
}
}