public function verify(Input $input)
    {
        $this->eventDispatcher->dispatch(new ExerciseRunnerEvent('cli.verify.start', $this->exercise, $input));
        $result = new CliResult(
            array_map(
                function (array $args) use ($input) {
                    return $this->doVerify($args, $input);
                },
                $this->preserveOldArgFormat($this->exercise->getArgs())
            )
        );
        $this->eventDispatcher->dispatch(new ExerciseRunnerEvent('cli.verify.finish', $this->exercise, $input));
        return $result;
    }