public static function tearDownAfterClass()
 {
     if (self::$isOneTimeSetup) {
         $integrationTestBase = new IntegrationTestBase();
         $integrationTestBase->setUp();
         if (!$integrationTestBase->isEmulated()) {
             $serviceProperties = QueueServiceFunctionalTestData::getDefaultServiceProperties();
             $integrationTestBase->restProxy->setServiceProperties($serviceProperties);
         }
         self::$isOneTimeSetup = false;
     }
     parent::tearDownAfterClass();
 }
 public static function tearDownAfterClass()
 {
     if (self::$isOneTimeSetup) {
         $testBase = new FunctionalTestBase();
         $testBase->setUp();
         foreach (QueueServiceFunctionalTestData::$testQueueNames as $name) {
             $testBase->safeDeleteQueue($name);
         }
         self::$isOneTimeSetup = false;
     }
     parent::tearDownAfterClass();
 }
 public function tearDown()
 {
     parent::tearDown();
     self::deleteQueues(self::$testQueuesPrefix, self::$testQueues);
     self::deleteQueues(self::$createableQueuesPrefix, self::$creatableQueues);
 }