/** * Test targeting. */ public function testCheckReplyTo() { $html = file_get_contents($this->dir . '/HTML/testCheckReplyTo.html'); $target = 'http://billy.com/notes/2014/06/22/4/'; $parser = new Parser(); $microformats = $parser->getMicroformats($html, null); $this->assertTrue($parser->checkInReplyTo($microformats, $target)); }