title: iOS how to test a method that calls the [[UIApplication sharedApplication] openUrl:someUrl]
body: <p>I want to create a test for the method bellow, I would like to check if the forgot password is right. I'm new on TDD and I would like to know if you guys think this is necessary and how could I implement the test.</p>
  
  <pre><code>- (IBAction)forgotPasswordButtonClicked:(id)sender {
  [[UIApplication sharedApplication] openURL:[NSURL URLWithString:kForgetPasswordURL]];
  </code></pre>
  
  <p>}</p>
  
  <p>Thanks a lot</p>