Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | use PHPUnit\Framework\TestCase; |
||
6 | use Mezon\CustomClient\CustomClient; |
||
7 | |||
8 | class CustomClientTest extends TestCase |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * Testing get method |
||
13 | */ |
||
14 | public function testGetMethod() |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Testing post metthod |
||
25 | */ |
||
26 | public function testPostMethod() |
||
27 | { |
||
28 | $client = new CustomClient('http://yandex.ru/'); |
||
29 | |||
30 | $client->sendPostRequest('unexisting'); |
||
35 |