PHPUnit_Framework_SyntheticError
class PHPUnit_Framework_SyntheticError extends PHPUnit_Framework_AssertionFailedError (View source)
Creates a synthetic failed assertion.
Properties
protected array | $serializableTrace | from PHPUnit_Framework_Exception | |
protected string | $syntheticFile | The synthetic file. | |
protected int | $syntheticLine | The synthetic line number. | |
protected array | $syntheticTrace | The synthetic trace. |
Methods
__construct($message, $code, string $file, int $line, array $trace)
Constructor.
array
getSerializableTrace()
Returns the serializable trace (without 'args').
string
toString()
Wrapper for getMessage() which is declared as final.
string
getSyntheticFile()
No description
int
getSyntheticLine()
No description
array
getSyntheticTrace()
No description
Details
at line 46
__construct($message, $code, string $file, int $line, array $trace)
Constructor.
array
getSerializableTrace()
Returns the serializable trace (without 'args').
string
__toString()
__sleep()
string
toString()
Wrapper for getMessage() which is declared as final.