function testRunCommand()
 {
     $inputData = ['command' => 'update', MagentoComposerApplication::COMPOSER_WORKING_DIR => '.'];
     $this->composerApplication->expects($this->once())->method('resetComposer');
     $this->inputFactory->expects($this->once())->method('create')->with($inputData);
     $this->consoleOutput->expects($this->once())->method('fetch')->willReturn('Nothing to update');
     $this->composerApplication->expects($this->once())->method('run')->willReturn(0);
     $message = $this->application->runComposerCommand($inputData);
     $this->assertEquals('Nothing to update', $message);
 }