Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function it_should_create_request($requestFactory) |
||
27 | { |
||
28 | $requestFactory |
||
29 | ->createRequest('GET', '/api', [], null) |
||
30 | ->shouldBeCalled() |
||
31 | ->willReturn(m::mock(RequestInterface::class)); |
||
32 | |||
33 | $this->create('GET', '/api')->shouldReturnAnInstanceOf(RequestInterface::class); |
||
34 | } |
||
35 | } |
||
36 |