public function testCompileCommand() { $guard = $this->prophesize(CacheGuard::class); $guard->rebuild()->shouldBeCalled(); $compile_command = new CompileCommand($guard->reveal()); $compile_command->run(new StringInput(''), new NullOutput()); }