/** * Send request to get test user list * * @return array */ protected static function requestUserList() { $request = static::getClient()->get('/' . Facebook::getAppId() . '/accounts/test-users'); $request->getQuery()->set('access_token', Facebook::getAppAccessToken()); return $request->send()->json(); }
/** * @expectedException LogicException */ public function testGetAppIdException() { Facebook::getAppId(); }