Jyxo\HtmlTest::testGetBody PHP Method

testGetBody() public method

Tests the getBody() method.
See also: Jyxo\Html::getBody()
public testGetBody ( )
    public function testGetBody()
    {
        $testCount = 2;
        for ($i = 1; $i <= $testCount; $i++) {
            $this->assertStringEqualsFile($this->filePath . '/' . sprintf('getbody-%s-expected.html', $i), Html::getBody(file_get_contents($this->filePath . '/' . sprintf('getbody-%s.html', $i))), sprintf('Failed test %s for method %s::getBody().', $i, \Jyxo\Html::class));
        }
    }