Zendesk\API\UnitTests\BasicTest::setUp PHP Method

setUp() protected method

This method is called before a test is executed.
protected setUp ( )
    protected function setUp()
    {
        $this->client = new HttpClient($this->subdomain, $this->username, $this->scheme, $this->hostname, $this->port);
        $this->client->setAuth('oauth', ['token' => $this->oAuthToken]);
    }

Usage Example

 /**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     $this->dummyResource = new DummyResource($this->client);
 }
All Usage Examples Of Zendesk\API\UnitTests\BasicTest::setUp