| Total Complexity | 1 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | trait AssertFetchedRelationships |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Asserts that the response has "200 Ok" status code and valid content. |
||
| 16 | * |
||
| 17 | * @param TestResponse $response |
||
| 18 | * @param array|null $expected The expected collection of resource identifier objects. |
||
| 19 | * @param boolean $strict If true, unsafe characters are not allowed when checking members name. |
||
| 20 | * |
||
| 21 | * @return void |
||
| 22 | * @throws \PHPUnit\Framework\AssertionFailedError |
||
| 23 | */ |
||
| 24 | 51 | public static function assertFetchedRelationshipsResponse(TestResponse $response, $expected, $strict) |
|
| 51 |