/** * * @return void */ public function setUp() { if (!constant('TESTS_ZEND_SERVICE_DELICIOUS_ENABLED')) { $this->markTestSkipped('Zend_Service_Delicious online tests are not enabled'); } $httpClient = new Zend_Http_Client(); $httpClient->setConfig(array('useragent' => 'Zend_Service_Delicious - Unit tests/0.1', 'keepalive' => true)); Zend_Rest_Client::setDefaultHTTPClient($httpClient); $this->_delicious = new Zend_Service_Delicious(self::TEST_UNAME, self::TEST_PASS); }