Bolt\Tests\Asset\AssetsProviderTest::testLateJs PHP Метод

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

public testLateJs ( )
    public function testLateJs()
    {
        $app = $this->getApp();
        $javaScript = (new JavaScript())->setFileName('testfile.js')->setLate(true);
        $app['asset.queue.file']->add($javaScript);
        $response = new Response($this->template);
        $app['asset.queue.file']->process($this->getRequest(), $response);
        $this->assertEquals($this->html($this->expectedLateJs), $this->html($response->getContent()));
    }