| 1 | <?php |
||
| 10 | class NoopHydratorTest extends TestCase |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @expectedException \LogicException |
||
| 14 | * @expectedExceptionMessage The NoopHydrator should never be called |
||
| 15 | */ |
||
| 16 | public function testUsingNoopHydratorThrowsException() |
||
| 17 | { |
||
| 18 | $response = m::mock(Response::class); |
||
| 19 | |||
| 20 | $hydrator = new NoopHydrator(); |
||
| 21 | $hydrator->hydrate($response); |
||
| 22 | } |
||
| 23 | } |
||
| 24 |