Total Complexity | 1 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | trait AssertJsonapi |
||
12 | { |
||
13 | /** |
||
14 | * Asserts that a jsonapi object equals an expected array. |
||
15 | * |
||
16 | * @param array $expected |
||
17 | * @param array $json |
||
18 | * @return void |
||
19 | * @throws \PHPUnit\Framework\ExpectationFailedException |
||
20 | */ |
||
21 | public static function assertJsonapiObjectEquals($expected, $json): void |
||
26 |