title: Testing Facebook application with PHPUnit
body: <p>I am building a Facebook application with PHP and I would like to implement PHPUnit tests. The problem is, I think, with the Facebook authorization and getting the dynamic token. During testing the token cannot be received and my tests fail.</p>
  
  <p>I read that this problem can be avoided using "mock objects" but my app is relying on the social graph and therefore this idea does not seem like a good option.</p>
  
  <p>So I hope that someone could explain me how this can be done or point me to some other approach for automated Facebook apps testing.</p>
  
  <p>Have a nice day :)</p>