예제 #1
0
 public function setup()
 {
     parent::setup();
     $request = new FacebookRequest($this->getSession(), Api::HTTP_METHOD_GET, '/');
     $resp = new \StdClass();
     $resp->data = array();
     $resp->paging = new \StdClass();
     $resp->paging->cursors = new \StdClass();
     $resp->paging->cursors->after = $this->after;
     $resp->paging->cursors->before = $this->before;
     $this->response = new FacebookResponse($request, $resp, json_encode($resp));
 }
 public function setup()
 {
     parent::setup();
     $this->getSkippableFeaturesManager()->enforceSkipTest($this);
     $this->setupLogger();
     $this->setupSession();
     $this->setupHttpClient();
     $this->setupApi();
 }