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

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

    public function testCssProcessAssets()
    {
        $app = $this->getApp();
        $stylesheet = (new Stylesheet())->setFileName('testfile.css');
        $app['asset.queue.file']->add($stylesheet);
        $response = new Response($this->template);
        $app['asset.queue.file']->process($this->getRequest(), $response);
        $this->assertEquals($this->html($this->expectedCss), $this->html($response->getContent()));
    }