/** * getOutput() should return string if output does exist */ public function test_getOutput_returnsString_ifOutputDoesExist() { $output = 'foo'; $exception = new Exception(); $exception->setOutput($output); $this->assertEquals($output, $exception->getOutput()); return; }