function it_will_stop_on_failure_if_command_line_option_is_set($input) { $input->getOption('stop-on-failure')->willReturn(true); $this->isStopOnFailureEnabled()->shouldReturn(true); }