AutomatedLinkTest::getLinkFromPage
Create a DOMDocument out of the $page supplied and check that it only has 1 link.
If it does return it, else fail the test
Signature
public function getLinkFromPage(SiteTree
$page )
Parameters
$page
— SiteTree
Returns
- DOMDocument