AssetManagerTest\Controller\ConsoleControllerTest::testWarmupAction PHP Method

testWarmupAction() public method

public testWarmupAction ( )
    public function testWarmupAction()
    {
        $this->routeMatch->setParam('action', 'warmup');
        $this->controller->dispatch($this->request);
        $dumpedAsset = sys_get_temp_dir() . '/' . self::$assetName;
        $this->assertEquals(file_get_contents($dumpedAsset), JSMin::minify(file_get_contents(__DIR__ . '/../../_files/require-jquery.js')));
    }