I'm trying to write testcase for test my delegates. For example,
-(void)testUserLogin{
loginRequest=[[RTUserLoginRequest alloc]initWithUserNmae:@"1235" password:@"1235"];
[loginRequest setDelegate:self];
[loginRequest invoke];
}
-(void)userLoginRequest:(RTUserLoginRequest *)request didSucceed:(BOOL)succeed{
GHTestLog(@"user login succeed");
}
This code run perfectly but problem is when this callback fired it not display in simulator like testUserLogin. What is the standard method to test this kind of situation