29 lines
633 B
Swift
29 lines
633 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 FBSDKShareKit
|
|
|
|
import FBSDKCoreKit
|
|
import XCTest
|
|
|
|
final class ShareBridgeAPIRequestFactoryTests: XCTestCase {
|
|
let factory = ShareBridgeAPIRequestFactory()
|
|
|
|
func testFactoryMakesRequests() {
|
|
XCTAssertNotNil(
|
|
factory.bridgeAPIRequest(
|
|
with: .web,
|
|
scheme: URLSchemeEnum.https.rawValue,
|
|
methodName: nil,
|
|
parameters: nil,
|
|
userInfo: nil
|
|
)
|
|
)
|
|
}
|
|
}
|