title: iOS UnitTesting Dependence
body: <p>I am writing unit test to test my web services calls. Issue is all calls depend on token (which I get after I am logged in). In setup method, I called the login but since it's async call, before the token is set, my test method is called and it got null in token. There are couple of solutions (set an arbitrary token or call login before I test my actual service). I want better solution to handle this thing. Any suggestions?</p>
  
  <p>Thanks.</p>