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

        PHPUnitAssert::assertThat(
            $document,
            new IdentifierInDocument($expected, $pointer, true),
            $message
        );
    }