/**
  * @covers WindowsAzure\ServiceBus\ServiceBusRestProxy::createTable
  * @covers WindowsAzure\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 WindowsAzure\Table\TableRestProxy::createTable
  * @covers WindowsAzure\Table\TableRestProxy::deleteTable
  * @covers WindowsAzure\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);
     }
 }