Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types = 1); |
||
8 | final class JsonRequestParserTest extends TestCase |
||
9 | { |
||
10 | |||
11 | public function testGetQuery(): void |
||
12 | { |
||
13 | $jsonRequestParser = new JsonRequestParser('{"query": "some query", "variables": {}}'); |
||
14 | |||
15 | self::assertSame('some query', $jsonRequestParser->getQuery()); |
||
16 | } |
||
17 | |||
18 | |||
19 | public function testGetVariables(): void |
||
24 | } |
||
25 | |||
26 | |||
27 | public function testEmptyData(): void |
||
36 |