getOutput() public method

public getOutput ( ) : string
return string
    public function test_it_outputs_nothing_without_operation()
    {
        $expectedOutput = <<<TEXT
<fg=green>No changelogs summary</fg=green>
TEXT;
        $this->assertSame($expectedOutput, $this->SUT->getOutput());
    }
 private function doCommit()
 {
     if (!$this->config->getCommitBinFile()) {
         $this->io->writeError('<error>No "commit-bin-file" for composer-changelogs plugin. Commit not done.</error>');
         return;
     }
     $workingDirectory = getcwd();
     $filename = tempnam(sys_get_temp_dir(), 'composer-changelogs-');
     $message = $this->config->getCommitMessage() . PHP_EOL . PHP_EOL . strip_tags($this->outputter->getOutput());
     file_put_contents($filename, $message);
     $command = $this->config->getCommitBinFile() . ' ' . escapeshellarg($workingDirectory) . ' ' . escapeshellarg($filename);
     $this->io->write(sprintf('Executing following command: %s', $command));
     exec($command);
 }
 /**
  * @param Event $event
  */
 public function postUpdate(Event $event)
 {
     $this->io->write($this->outputter->getOutput());
 }