Hello World
 ';
    $mf2 = Mf2\parse($html, 'http://example.com/entry');
    $xray = new p3k\XRay();
    $data = $xray->process('http://example.com/entry', $mf2);
    $this->assertEquals('Hello World', $data['data']['content']['text']);
    $this->assertEquals('http://example.com/photo.jpg', $data['data']['photo'][0]);
  }
  public function testInputIsParsedMf2JSON() {
    $html = '
';
    $mf2 = Mf2\parse($html, 'http://example.com/entry');
    $xray = new p3k\XRay();
    $data = $xray->process('http://example.com/entry', $mf2);
    $this->assertEquals('Hello World', $data['data']['content']['text']);
    $this->assertEquals('http://example.com/photo.jpg', $data['data']['photo'][0]);
  }
  public function testInputIsParsedMf2JSON() {
    $html = 'Hello World
