| Total Complexity | 5 |
| Total Lines | 59 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | trait AssertLinks |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Asserts that a document links object equals an expected array of links. |
||
| 15 | * |
||
| 16 | * @param TestResponse $response |
||
| 17 | * @param array $expected |
||
| 18 | * |
||
| 19 | * @return void |
||
| 20 | * @throws \PHPUnit\Framework\AssertionFailedError |
||
| 21 | */ |
||
| 22 | 12 | public static function assertDocumentLinksObjectEquals(TestResponse $response, $expected) |
|
| 40 | 3 | } |
|
| 41 | |||
| 42 | /** |
||
| 43 | * Asserts that a document links object contains an expected array of links. |
||
| 44 | * |
||
| 45 | * @param TestResponse $response |
||
| 46 | * @param array $expected |
||
| 47 | * |
||
| 48 | * @return void |
||
| 49 | * @throws \PHPUnit\Framework\AssertionFailedError |
||
| 50 | */ |
||
| 51 | 12 | public static function assertDocumentLinksObjectContains(TestResponse $response, $expected) |
|
| 73 |