/**
  * @test
  */
 public function it_runs_the_command_and_tracks_error()
 {
     $this->setUpRequest();
     $this->setUpRun();
     $this->process_mock->shouldReceive('getCommandLine')->withNoArgs()->andReturn('Command')->once();
     $this->process_mock->shouldReceive('getExitCode')->withNoArgs()->andReturn(0)->once();
     $this->process_mock->shouldReceive('isSuccessful')->withNoArgs()->andReturn(false)->twice();
     $this->process_mock->shouldReceive('getOutput')->never();
     $this->process_mock->shouldReceive('getErrorOutput')->withNoArgs()->andReturn('Error')->once();
     $this->assertInstanceOf('Spinen\\ConnectWise\\Generator\\CommandLine\\Response', $this->request->run());
 }