public static function assertListContainsResource(
        $document,
        string $type,
        string $id,
        string $pointer = '/data',
        string $message = ''
    ): void
    {
        $expected = compact('type', 'id');

        self::assertListContainsHash($document, $expected, $pointer, true, $message);
    }