Jyxo\HtmlTest::testRemoveTags PHP Method

testRemoveTags() public method

Tests the removeTags() method.
See also: Jyxo\Html::removeTags()
public testRemoveTags ( )
    public function testRemoveTags()
    {
        $this->assertStringEqualsFile($this->filePath . '/removetags-1-expected.html', Html::removeTags(file_get_contents($this->filePath . '/removetags-1.html')));
        $this->assertStringEqualsFile($this->filePath . '/removetags-2-expected.html', Html::removeTags(file_get_contents($this->filePath . '/removetags-2.html'), ['p', 'select', 'ul']));
    }