public function setUp() { parent::setUp(); $fiddlerFilter = new FiddlerFilter(); $this->restProxy = $this->restProxy->withFilter($fiddlerFilter); if (!self::$isOneTimeSetup) { $this->doOneTimeSetup(); self::$isOneTimeSetup = true; } }
public function setUp() { parent::setUp(); $this->_contract = new WrapTokenManagerTest_MockWrapRestProxy(); $this->_client = new WrapTokenManager('testurl', 'testname', 'testpassword', $this->_contract); }