in FBSDKCoreKit/FBSDKCoreKitTests/GraphRequestConnectionTests.swift [157:208]
func testDefaultDependencies() {
GraphRequestConnection.resetClassDependencies()
XCTAssertNil(
GraphRequestConnection.sessionProxyFactory,
"A graph request connection should not have a session provider by default"
)
XCTAssertNil(
GraphRequestConnection.errorConfigurationProvider,
"A graph request connection should not have a error configuration provider by default"
)
XCTAssertNil(
GraphRequestConnection.piggybackManager,
"A graph request connection should not have a piggyback manager by default"
)
XCTAssertNil(
GraphRequestConnection.settings,
"A graph request connection should not have a settings type by default"
)
XCTAssertNil(
GraphRequestConnection.graphRequestConnectionFactory,
"A graph request connection should not have a connection factory by default"
)
XCTAssertNil(
GraphRequestConnection.eventLogger,
"A graph request connection should not have an events logger by default"
)
XCTAssertNil(
GraphRequestConnection.operatingSystemVersionComparer,
"A graph request connection should not have an operating system version comparer by default"
)
XCTAssertNil(
GraphRequestConnection.macCatalystDeterminator,
"A graph request connection should not have a Mac Catalyst determinator by default"
)
XCTAssertNil(
GraphRequestConnection.accessTokenProvider,
"A graph request connection should not an access token provider by default"
)
XCTAssertNil(
GraphRequestConnection.accessTokenSetter,
"A graph request connection should not have an access token setter by default"
)
XCTAssertNil(
GraphRequestConnection.errorFactory,
"A graph request connection should not have an error factory by default"
)
XCTAssertNil(
GraphRequestConnection.authenticationTokenProvider,
"A graph request connection should not have an authentication token provider by default"
)
}