public function testGregor()
 {
     $url = 'http://gregorlove.com/';
     $parsed = $this->parse($url);
     $representative = Mf2\HCard\representative($parsed, $url);
     $this->assertContains('http://gregorlove.com/', $representative['properties']['url']);
 }
 public function testMultipleHCardsURLNoRelMe()
 {
     $html = '<div class="h-card"><a href="http://example.com/" class="u-url">Example</a></div>
   <div class="h-card"><a href="http://example.com/" class="u-url">Example</a></div>';
     $parsed = Mf2\parse($html);
     $representative = Mf2\HCard\representative($parsed, 'http://example.com/');
     $this->assertFalse($representative);
 }