/** * Prepare for testing */ public function setUp() { $this->sdkMock = m::mock('\\BaseFacebook'); $this->sdkMock->shouldIgnoreMissing(); $this->config = array('appId' => '491661414218957', 'appSecret' => 'dd0470f1919cfe0e1a52e81c6964bf16', 'redirectUri' => 'http://localhost', 'appPerms' => 'email'); // http://graph.facebook.com/511174899 $json = '{ "id": "511174899", "name": "Luke Scalf", "first_name": "Luke", "last_name": "Scalf", "username": "******", "gender": "male", "locale": "en_US" }'; $this->data = json_encode($json, true); }