1 | <?php |
||
17 | class ExceptionalQueueTest extends \PHPUnit_Framework_TestCase |
||
18 | { |
||
19 | use Util; |
||
20 | |||
21 | protected $innerQueue; |
||
22 | protected $queue; |
||
23 | |||
24 | /** |
||
25 | * {@inheritdoc} |
||
26 | */ |
||
27 | protected function setUp() |
||
32 | |||
33 | public function testPush() |
||
42 | |||
43 | public function testPop() |
||
48 | |||
49 | public function testCount() |
||
56 | |||
57 | public function testClear() |
||
62 | |||
63 | /** |
||
64 | * @dataProvider provideQueueInterfaceMethods |
||
65 | * @expectedException \Phive\Queue\QueueException |
||
66 | */ |
||
67 | public function testThrowOriginalQueueException($method) |
||
74 | |||
75 | /** |
||
76 | * @dataProvider provideQueueInterfaceMethods |
||
77 | * @expectedException \Phive\Queue\QueueException |
||
78 | */ |
||
79 | public function testThrowWrappedQueueException($method) |
||
86 | } |
||
87 |