| 1 | <?php |
||
| 12 | class SourceTest extends TestCase |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @expectedException \InvalidArgumentException |
||
| 16 | */ |
||
| 17 | public function testConstructFailed() |
||
| 21 | |||
| 22 | public function testPeek() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @covers ::next |
||
| 30 | */ |
||
| 31 | public function testNext() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @covers ::consume |
||
| 40 | */ |
||
| 41 | public function testConsumeSucceeded() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @expectedException \xKerman\Restricted\UnserializeFailedException |
||
| 50 | */ |
||
| 51 | public function testConsumeFailure() |
||
| 56 | } |
||
| 57 |