Flush buffer and close output.
Overrides PHPUnit_Util_Printer::flush
public function flush() { if ($this->writeDocument === TRUE) { $this ->write($this ->getXML()); } parent::flush(); }