/**
  * Creates new QueryTablesResult object
  * 
  * @param array $headers The HTTP response headers
  * @param array $entries The table entriess
  * 
  * @return \WindowsAzure\Table\Models\QueryTablesResult 
  */
 public static function create($headers, $entries)
 {
     $result = new QueryTablesResult();
     $headers = array_change_key_case($headers);
     $result->setNextTableName(Utilities::tryGetValue($headers, Resources::X_MS_CONTINUATION_NEXTTABLENAME));
     $result->setTables($entries);
     return $result;
 }
 /**
  * @covers WindowsAzure\Table\Models\QueryTablesResult::setNextTableName
  * @covers WindowsAzure\Table\Models\QueryTablesResult::getNextTableName
  */
 public function testSetNextTableName()
 {
     // Setup
     $result = new QueryTablesResult();
     $expected = 'table';
     // Test
     $result->setNextTableName($expected);
     // Assert
     $this->assertEquals($expected, $result->getNextTableName());
 }