getById() public method

Get a worksheet by id
public getById ( string $id ) : Worksheet
$id string of the worksheet
return Worksheet
 /**
  * @expectedException Google\Spreadsheet\Exception\WorksheetNotFoundException
  */
 public function testGetByIdException()
 {
     $worksheetFeed = new WorksheetFeed($this->getSimpleXMLElement("worksheet-feed"));
     $this->assertTrue(is_null($worksheetFeed->getById("od7")));
 }