Total Complexity | 2 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php namespace Pixelpeter\Genderize\Test; |
||
6 | class MetaTest extends \PHPUnit\Framework\TestCase |
||
7 | { |
||
8 | /** |
||
9 | * @var \Pixelpeter\Genderize\Models\Meta |
||
10 | */ |
||
11 | protected $meta; |
||
12 | |||
13 | /** |
||
14 | * Set up |
||
15 | */ |
||
16 | public function setUp() |
||
17 | { |
||
18 | $data = (object) [ |
||
19 | 'code' => 200, |
||
20 | 'headers' => [ |
||
21 | 'X-Rate-Limit-Limit' => 7000, |
||
22 | 'X-Rate-Limit-Remaining' => 1000, |
||
23 | 'X-Rate-Reset' => 0 |
||
24 | ] |
||
25 | ]; |
||
26 | |||
27 | $this->meta = new Meta($data); |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * Check data is set correctly |
||
32 | * |
||
33 | * @test |
||
34 | */ |
||
35 | public function data_is_set_correctly() |
||
42 | } |
||
43 | } |
||
44 |