/**
  * @test
  * @covers Plum\PlumConsole\ExceptionFormatter::outputExceptions()
  * @covers Plum\PlumConsole\ExceptionFormatter::outputExceptionTrace()
  */
 public function listExceptionsShouldOutputStackTraceIfVeryVerbose()
 {
     /** @var \Plum\Plum\Result|\Mockery\MockInterface $result */
     $result = Mockery::mock('\\Plum\\Plum\\Result');
     $result->shouldReceive('getExceptions')->once()->andReturn([$this->getMockException('Exception #1', 'Trace #1')]);
     $this->output->shouldReceive('writeln')->with('<error>Exception #1</error>')->once();
     $this->output->shouldReceive('writeln')->with('Trace #1')->once();
     $this->output->shouldReceive('getVerbosity')->andReturn(OutputInterface::VERBOSITY_VERY_VERBOSE);
     $formatter = new ExceptionFormatter($this->output);
     $formatter->outputExceptions($result);
 }