1 | <?php |
||
18 | class HandlerTest extends \PHPUnit_Framework_TestCase |
||
19 | { |
||
20 | |||
21 | use DelegatesMessagesTrait; |
||
22 | |||
23 | /** |
||
24 | * @var HandlerInterface |
||
25 | */ |
||
26 | private $_handler; |
||
27 | |||
28 | /** |
||
29 | * @var ConnectionInterface |
||
30 | */ |
||
31 | private $_sender; |
||
32 | |||
33 | |||
34 | /** |
||
35 | * @inheritdoc |
||
36 | */ |
||
37 | protected function setUp() |
||
44 | |||
45 | |||
46 | /** |
||
47 | * Check that the message is properly handled |
||
48 | */ |
||
49 | public function testDelegateMessage() |
||
54 | |||
55 | |||
56 | /** |
||
57 | * @expectedException \Jalle19\StatusManager\Exception\UnhandledMessageException |
||
58 | */ |
||
59 | public function testFailedDelegation() |
||
63 | |||
64 | } |
||
65 |