Inheritance: extends Symfony\Component\Console\Command\Command
 /**
  * Tests the command status is 0 (success) if the update success or is not necessary
  *
  * @param $isPharOutdated
  *
  * @dataProvider testUpdateSuccessProvider
  */
 public function testUpdateSuccess($isPharOutdated)
 {
     $updater = $this->prophesize(Updater::class);
     $input = $this->prophesize(InputInterface::class);
     $output = $this->prophesize(OutputInterface::class);
     $updater->update()->willReturn($isPharOutdated);
     $command = new SelfUpdateCommand($this->getContainerWithUpdater($updater->reveal()));
     $result = $command->run($input->reveal(), $output->reveal());
     $this->assertSame(0, $result);
 }