Hostnet\Bundle\WebpackBundle\Command\CompileCommandTest::testCompileCommand PHP Method

testCompileCommand() public method

Simple test to see the validate function is executed from the CacheGard class.
public testCompileCommand ( )
    public function testCompileCommand()
    {
        $guard = $this->prophesize(CacheGuard::class);
        $guard->rebuild()->shouldBeCalled();
        $compile_command = new CompileCommand($guard->reveal());
        $compile_command->run(new StringInput(''), new NullOutput());
    }
CompileCommandTest