FBSDKShareKit/FBSDKShareKitTests/Bridging/ShareBridgeAPIRequestFactoryTests.swift (17 lines of code) (raw):
/*
* 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 FBSDKShareKit
import FBSDKCoreKit
import XCTest
final class ShareBridgeAPIRequestFactoryTests: XCTestCase {
let factory = ShareBridgeAPIRequestFactory()
func testFactoryMakesRequests() {
XCTAssertNotNil(
factory.bridgeAPIRequest(
with: .web,
scheme: URLScheme.https.rawValue,
methodName: nil,
parameters: nil,
userInfo: nil
)
)
}
}