public function testClearOutput() { $git = $this->getWorkingCopy(); // Put stuff in the output buffer. $git->status(); $git->clearOutput(); $output = $git->getOutput(); $this->assertEmpty($output); }