/** * String representation of the test * * @return string */ public function toString() { return sprintf("%s", $this->success->getName()->getName()); }
/** * Returns a short description of the failure. * * @return string */ public function toString() { return sprintf("%s \n%s", $this->failedTest->toString(), $this->thrownException->getMessage()); }