Redaxscript\Tests\Head\StyleTest::testRender PHP Метод

testRender() публичный Метод

testRender
С версии: 3.0.0
public testRender ( string $append = null, string $prepend = null, string $expect = null )
$append string
$prepend string
$expect string
    public function testRender($append = null, $prepend = null, $expect = null)
    {
        /* setup */
        $style = Head\Style::getInstance();
        $style->appendInline($append)->prependInline($prepend);
        /* actual */
        $actual = $style;
        /* compare */
        $this->assertEquals($expect, $actual);
    }