/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. */ protected function setUp() { $this->object = new PPBaseService('serviceName', 'serviceBinding'); $this->object->setAccessToken('sampletoken'); $this->object->setTokenSecret('sampleSrcret'); }