| Total Complexity | 2 | 
| Total Lines | 45 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 12 | trait AssertFetched | ||
| 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 resource object | ||
| 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 | 27 | public static function assertFetchedSingleResourceResponse( | |
| 60 |