Redaxscript\Tests\Assetic\TransportTest::testRender PHP Method

testRender() public method

testRender
Since: 3.0.0
public testRender ( array $transportArray = [], string $expect = null )
$transportArray array
$expect string
    public function testRender($transportArray = [], $expect = null)
    {
        /* setup */
        $transport = new Assetic\Transport($this->_registry, $this->_language);
        /* actual */
        $actual = $transport->render($transportArray['key'], $transportArray['value']);
        /* compare */
        $this->assertEquals($expect, $actual);
    }