| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 8 | class AbstractClientTest extends TestCase |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @test |
||
| 12 | */ |
||
| 13 | public function itPreparesARequestForExecution() |
||
| 14 | { |
||
| 15 | $client = new SomeClient(); |
||
| 16 | $client->prepareRequest('GET', 'http://example.com/api'); |
||
| 17 | |||
| 18 | $this->assertSame('GET', $client->getRequest()->getMethod()); |
||
| 19 | $this->assertSame('http://example.com/api', $client->getRequest()->getUri()); |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @test |
||
| 24 | */ |
||
| 25 | public function itExecutesAPreparedRequest() |
||
| 35 | } |
||
| 36 | } |