예제 #1
0
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  *
  * @access protected
  *
  * @return void
  */
 protected function setUp()
 {
     parent::setUp();
     $this->object = new Statuses($this->options, $this->client, $this->oauth);
 }
예제 #2
0
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  *
  * @access protected
  *
  * @return void
  */
 protected function setUp()
 {
     parent::setUp();
     $this->object = new Profile($this->options, $this->client, $this->oauth);
 }
예제 #3
0
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  *
  * @access protected
  *
  * @return void
  */
 protected function setUp()
 {
     parent::setUp();
     $this->object = new ObjectMock($this->options, $this->client, $this->oauth);
 }
예제 #4
0
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  *
  * @return void
  */
 protected function setUp()
 {
     parent::setUp();
     $this->object = new Twitter($this->oauth, $this->options, $this->client);
 }
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  *
  * @access protected
  *
  * @return void
  */
 protected function setUp()
 {
     parent::setUp();
     $this->object = new Directmessages($this->options, $this->client, $this->oauth);
 }