ParsedownTest::testAttributeLinks PHP Method

    public function testAttributeLinks()
    {
        $this->uri->initializeWithURL('http://testing.dev/item2/item2-2')->init();
        $this->assertSame('<p><a href="/item2/item2-3" class="button">Relative Class</a></p>', $this->parsedown->text('[Relative Class](../item2-3?classes=button)'));
        $this->assertSame('<p><a href="/item2/item2-3" id="unique">Relative ID</a></p>', $this->parsedown->text('[Relative ID](../item2-3?id=unique)'));
        $this->assertSame('<p><a href="https://github.com/getgrav/grav" class="button big">External</a></p>', $this->parsedown->text('[External](https://github.com/getgrav/grav?classes=button,big)'));
        $this->assertSame('<p><a href="/item2/item2-3?id=unique">Relative Noprocess</a></p>', $this->parsedown->text('[Relative Noprocess](../item2-3?id=unique&noprocess)'));
        $this->assertSame('<p><a href="/item2/item2-3" target="_blank">Relative Target</a></p>', $this->parsedown->text('[Relative Target](../item2-3?target=_blank)'));
        $this->assertSame('<p><a href="/item2/item2-3" rel="nofollow">Relative Rel</a></p>', $this->parsedown->text('[Relative Rel](../item2-3?rel=nofollow)'));
        $this->assertSame('<p><a href="/item2/item2-3?foo=bar&baz=qux" rel="nofollow" class="button">Relative Mixed</a></p>', $this->parsedown->text('[Relative Mixed](../item2-3?foo=bar&baz=qux&rel=nofollow&class=button)'));
    }