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