/** * Tears down this test case * * @return void */ public function tearDown() { if (!$this->_config) { return; } // Delete the bucket here $s3 = new AmazonS3($this->_config->get(\ZendCloud\StorageService\Adapter\S3::AWS_ACCESS_KEY), $this->_config->get(\ZendCloud\StorageService\Adapter\S3::AWS_SECRET_KEY)); $s3->removeBucket($this->_config->get(\ZendCloud\StorageService\Adapter\S3::BUCKET_NAME)); parent::tearDown(); }