/**
  * @covers MicrosoftAzure\Storage\ServiceBus\ServiceBusRestProxy::createTable
  * @covers MicrosoftAzure\Storage\ServiceBus\ServiceBusRestProxy::deleteTable
  */
 protected function clearTable($table)
 {
     $index = array_search($table, TableServiceFunctionalTestData::$testTableNames);
     if ($index !== false) {
         // This is a well-known table, so need to create a new one to replace it.
         TableServiceFunctionalTestData::$testTableNames[$index] = TableServiceFunctionalTestData::getInterestingTableName();
         $this->restProxy->createTable(TableServiceFunctionalTestData::$testTableNames[$index]);
     }
     $this->restProxy->deleteTable($table);
 }
 /**
  * @covers MicrosoftAzure\Storage\Table\TableRestProxy::createTable
  * @covers MicrosoftAzure\Storage\Table\TableRestProxy::deleteTable
  * @covers MicrosoftAzure\Storage\Table\TableRestProxy::getTable
  */
 private function getTableWorker($options)
 {
     $table = TableServiceFunctionalTestData::getInterestingTableName();
     $created = false;
     $this->restProxy->createTable($table);
     $created = true;
     $ret = is_null($options) ? $this->restProxy->getTable($table) : $this->restProxy->getTable($table, $options);
     if (is_null($options)) {
         $options = new TableServiceOptions();
     }
     $this->verifygetTableWorker($ret, $table);
     if ($created) {
         $this->restProxy->deleteTable($table);
     }
 }