Author: Asim Liaquat (asimlqt22@gmail.com)
Inheritance: extends ArrayIterato\ArrayIterator
 public function testGetByTitle()
 {
     $xml = file_get_contents(__DIR__ . '/xml/worksheet-feed.xml');
     $worksheetFeed = new WorksheetFeed($xml);
     $this->assertTrue($worksheetFeed->getByTitle('Sheet1') instanceof Worksheet);
     $this->assertTrue(is_null($worksheetFeed->getByTitle('Sheet3')));
 }
 /**
  * @expectedException Google\Spreadsheet\Exception\WorksheetNotFoundException
  */
 public function testGetByIdException()
 {
     $worksheetFeed = new WorksheetFeed($this->getSimpleXMLElement("worksheet-feed"));
     $this->assertTrue(is_null($worksheetFeed->getById("od7")));
 }