我正在检查一个应用程序并添加单元测试。该应用程序使用Storyboard编写,支持iOS6.1及更高版本。我已经能够毫无问题地测试所有常用的返回方法。但是,我目前对要执行的某个测试感到困惑:本质上我有一个方法,我们称之为doLogin:-(IBAction)doLogin:(UIButton*)sender{//Somelogichereif(//certaincriteriatomeet){variable=x;//importantvariablesethere[selfperformSegueWithIdentifier:@"memorableWord"sender:sender