Jyxo\HtmlTest::testRemoveAttributes PHP Method

testRemoveAttributes() public method

Tests the removeAttributes() method.
See also: Jyxo\Html::removeAttributes()
    public function testRemoveAttributes()
    {
        $this->assertStringEqualsFile($this->filePath . '/removeattributes-1-expected.html', Html::removeAttributes(file_get_contents($this->filePath . '/removeattributes-1.html')));
        $this->assertStringEqualsFile($this->filePath . '/removeattributes-2-expected.html', Html::removeAttributes(file_get_contents($this->filePath . '/removeattributes-2.html'), ['href', 'title']));
    }