     )
 
     XCTAssertEqual(
-      SessionTestCase.statesForEvents {
+      SessionTestCase.statesFromEvents {
         let x = $0.application(
           UIApplication.shared,
           viewControllerWithRestorationIdentifierPath: ["x"],

    )
    
    XCTAssertEqual(
      SessionTestCase.statesForEvents {
        $0.application(
          UIApplication.shared,
          supportedInterfaceOrientationsFor: WindowStub(id: "x")

//    )
    
    XCTAssertEqual(
      SessionTestCase.statesFromEvents {
        $0.application(
          UIApplication.shared,
          handleWatchKitExtensionRequest: ["":""],
