ParsedownTest::testAbsoluteLinks PHP Method

    public function testAbsoluteLinks()
    {
        $this->uri->initializeWithURL('http://testing.dev/item2/item2-2')->init();
        $this->assertSame('<p><a href="/">Root</a></p>', $this->parsedown->text('[Root](/)'));
        $this->assertSame('<p><a href="/item2/item2-1">Peer Page</a></p>', $this->parsedown->text('[Peer Page](/item2/item2-1)'));
        $this->assertSame('<p><a href="/item2/item2-2/item2-2-1">Down a Level</a></p>', $this->parsedown->text('[Down a Level](/item2/item2-2/item2-2-1)'));
        $this->assertSame('<p><a href="/item2">Up a Level</a></p>', $this->parsedown->text('[Up a Level](/item2)'));
        $this->assertSame('<p><a href="/item2?foo=bar">With Query</a></p>', $this->parsedown->text('[With Query](/item2?foo=bar)'));
        $this->assertSame('<p><a href="/item2/foo:bar">With Param</a></p>', $this->parsedown->text('[With Param](/item2/foo:bar)'));
        $this->assertSame('<p><a href="/item2#foo">With Anchor</a></p>', $this->parsedown->text('[With Anchor](/item2#foo)'));
    }