   func testDidRegisterForRemoteNotifications() {
     XCTAssert(
       SessionTestCase
-      .statesFrom {
+      .statesFromCall {
         $0.application(
           UIApplication.shared,
           didRegisterForRemoteNotificationsWithDeviceToken: Data()

    let activity = NSUserActivity(activityType: "x")
    XCTAssert(
      SessionTestCase
      .statesFrom {
        $0.application(
          UIApplication.shared,
          didUpdate: activity

    
    XCTAssert(
      SessionTestCase
      .statesFromCall { $0.applicationWillTerminate(UIApplication.shared) }
      .map { $0.state }
      ==
      [.none(.awaitingLaunch), .will(.terminated)]
