Total Complexity | 5 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Coverage | 31.82% |
Changes | 0 |
1 | <?php |
||
8 | trait AssertLinks |
||
9 | { |
||
10 | /** |
||
11 | * Asserts that a links object equals an expected array of links. |
||
12 | * |
||
13 | * @param \Illuminate\Foundation\Testing\TestResponse $response |
||
14 | * @param array $expected |
||
15 | */ |
||
16 | 3 | public static function assertDocumentLinksObjectEquals(TestResponse $response, $expected) |
|
34 | 1 | } |
|
35 | |||
36 | /** |
||
37 | * Asserts that a links object contains an expected array of links. |
||
38 | * |
||
39 | * @param \Illuminate\Foundation\Testing\TestResponse $response |
||
40 | * @param array $expected |
||
41 | */ |
||
42 | public static function assertDocumentLinksObjectContains(TestResponse $response, $expected) |
||
64 |