public function check() { return !empty($this->_href); }
/** * @dataProvider getTestCheckData * @covers FOF30\Hal\Link::check */ public function testCheck($href, $templated, $expect, $message) { $halLink = new Link($href, $templated); $this->assertEquals($expect, $halLink->check(), $message); }