GoogleSpreadsheet\Tests\Google\Spreadsheet\UtilTest::testGetLinkHref PHP Method

testGetLinkHref() public method

public testGetLinkHref ( )
    public function testGetLinkHref()
    {
        $xml = $this->getSimpleXMLElement("worksheet");
        $expected = "https://spreadsheets.google.com/feeds/worksheets/tA3TdJ0RIVEem3xQZhG2Ceg/private/full/od8";
        $actual = Util::getLinkHref($xml, "self");
        $this->assertEquals($expected, $actual);
    }