1 | <?php |
||
15 | class AsReturn extends AbstractMethodAssert |
||
16 | { |
||
17 | private $expectedReturn; |
||
18 | |||
19 | private $args; |
||
20 | |||
21 | private $returned; |
||
22 | |||
23 | public function __construct($class, $method, $expectedReturn, array $args) |
||
29 | |||
30 | /** |
||
31 | * Executes the assert |
||
32 | * |
||
33 | * @return boolean |
||
34 | */ |
||
35 | public function execute() |
||
46 | |||
47 | /** |
||
48 | * Returns the assert description |
||
49 | * |
||
50 | * @return string |
||
51 | */ |
||
52 | public function getDescription() |
||
56 | |||
57 | /** |
||
58 | * Creates the fail message |
||
59 | * |
||
60 | * @return string |
||
61 | */ |
||
62 | protected function createFailMessage() |
||
66 | } |