Why isn\'t the applicationWillTerminate appDelegate method called when XCUIApplication().terminate() is called? Is there another method of killing
applicationWillTerminate
XCUIApplication().terminate()