/** * Sets up this test case * * @return void */ public function setUp() { Zend_Service_Amazon_S3::setKeys(constant('TESTS_ZEND_SERVICE_AMAZON_ONLINE_ACCESSKEYID'), constant('TESTS_ZEND_SERVICE_AMAZON_ONLINE_SECRETKEYID')); if (!stream_wrapper_register('s3', 'Zend_Service_Amazon_S3')) { $this->fail('Unable to register s3:// streams wrapper'); } }