public function it_should_cast_wp_cli_errors_to_exceptions_if_specified_in_config()
{
$this->config['throw'] = true;
$this->executor->exec(Argument::type('string'), Argument::any(), Argument::any())->willReturn(-1);
$this->expectException(ModuleException::class);
$sut = $this->make_instance();
$sut->cli('core version');
}