Hostnet\Component\Webpack\Asset\CompilerTest::testCompile PHP Method

testCompile() public method

public testCompile ( )
    public function testCompile()
    {
        $this->tracker->expects($this->once())->method('getTemplates')->willReturn(['foobar']);
        $this->tracker->expects($this->once())->method('getAliases')->willReturn(['@AppBundle' => 'foobar']);
        $this->twig_parser->expects($this->once())->method('findSplitPoints')->willReturn(['@AppBundle/app.js' => 'a']);
        (new Compiler($this->profiler, $this->tracker, $this->twig_parser, $this->generator, $this->process, $this->cache_path, []))->compile();
    }