Exemplo n.º 1
0
 /**
  * @expectedException \Facebook\Exceptions\FacebookSDKException
  */
 public function testAnInvalidMethodWillThrow()
 {
     $app = new FacebookApp('123', 'foo_secret');
     $request = new FacebookRequest($app, 'foo_token', 'FOO');
     $request->validateMethod();
 }