// @todo Remove $expected + assertResourceResponse() in favor of the commented line below once https://www.drupal.org/project/drupal/issues/2943176 lands.
$expected_document=[
'jsonapi'=>static::$jsonApiMember,
'errors'=>[
[
'title'=>'Forbidden',
'status'=>'403',
'detail'=>'The current user is not allowed to GET the selected resource.',