1 | <?php |
||
9 | final class TestBody |
||
10 | { |
||
11 | /** |
||
12 | * @var TestFault |
||
13 | */ |
||
14 | private $fault; |
||
15 | /** |
||
16 | * @var TestResult |
||
17 | */ |
||
18 | private $result; |
||
19 | |||
20 | /** |
||
21 | * @return bool |
||
22 | */ |
||
23 | public function hasFault(): bool |
||
27 | |||
28 | /** |
||
29 | * @return TestFault |
||
30 | */ |
||
31 | public function getFault(): TestFault |
||
35 | |||
36 | /** |
||
37 | * @param TestFault $fault |
||
38 | */ |
||
39 | public function setTestFault(TestFault $fault) |
||
43 | |||
44 | /** |
||
45 | * @return TestResult |
||
46 | */ |
||
47 | public function getResult(): TestResult |
||
51 | |||
52 | /** |
||
53 | * @param TestResult $result |
||
54 | */ |
||
55 | public function setTestResult(TestResult $result) |
||
59 | } |