1 | <?php |
||
14 | class TestResultWithMessage extends MuteTestResult implements |
||
15 | PrintableTestResultInterface, |
||
16 | FunctionNameInterface, |
||
17 | FailureMessageInterface |
||
18 | { |
||
19 | /** @var string */ |
||
20 | private $functionName; |
||
21 | |||
22 | /** @var string */ |
||
23 | private $failureMessage; |
||
24 | |||
25 | /** |
||
26 | * TestResultWithMessage constructor. |
||
27 | * @param string $functionName |
||
28 | * @param string $failureMessage |
||
29 | */ |
||
30 | public function __construct(string $functionName, string $failureMessage) |
||
36 | |||
37 | public function getFunctionName(): string |
||
41 | |||
42 | public function getFailureMessage(): string |
||
46 | } |
||
47 |