$this->
assertContains('next',
$link->
getRels());
} /**
* @dataProvider templatedHrefProvider
*/
public function testTemplated(string
$href) { $link =
(new Link()) ->
withHref($href);
$this->
assertTrue($link->
isTemplated());
} /**
* @dataProvider notTemplatedHrefProvider
*/
public function testNotTemplated(string
$href) { $link =
(new Link()) ->
withHref($href);
$this->
assertFalse($link->
isTemplated());
}