anchor.diff:      end end,
   
       ValidateSuccessfulRestResultFun = fun(_, {ok, ?HTTP_200_OK, Response}) ->
  -        ?assertEqual(RdfMetadata, Response)
  +        ?assertEqual(?RDF_METADATA_1, Response)
       end,
       ValidateSuccessfulGsResultFun = fun(_, {ok, Result}) ->
  -        ?assertEqual(#{<<"metadata">> => RdfMetadata}, Result)
  +        ?assertEqual(#{<<"metadata">> => ?RDF_METADATA_1}, Result)
       end,
       ValidateNoRdfSetRestResultFun = fun(_, {ok, ?HTTP_400_BAD_REQUEST, Response}) ->
           ?assertEqual(?REST_ERROR(?ERROR_POSIX(?ENODATA)), Response)
  
positive.code:                             throw(?ERROR_POSIX(?EACCES));
                          undefined ->
                              json_metadata:merge([
                                  ?DIR_LAYER_1_JSON_METADATA,
                                  ?DIR_LAYER_2_JSON_METADATA,
                                  ?DIR_LAYER_3_JSON_METADATA,
                                  ?DIR_LAYER_4_JSON_METADATA,
                                  ?DIR_LAYER_5_JSON_METADATA
                              ]);
                          _ ->
                              json_metadata:merge([
                                  ?DIR_LAYER_4_JSON_METADATA,
                                  ?DIR_LAYER_5_JSON_METADATA
                              ])
                      end;
                  {true, false} ->
                      ?DIR_LAYER_5_JSON_METADATA;
                  {false, true} ->
                      case ShareId of
                          undefined when Client == ?USER_IN_SPACE_2_AUTH ->
  
negative.code:                 ->
                      ?assertEqual(?ERROR_SPACE_NOT_SUPPORTED_BY(Provider2DomainBin), Result);
                  (_TestCaseCtx, {ok, Result}) ->
                      ?assertEqual(#{<<"metadata">> => ?RDF_METADATA_1}, Result)
              end
          }
      ])).
  
  
  get_json_metadata_test(Config) ->
      [Provider2, Provider1] = Providers = ?config(op_worker_nodes, Config),
      Provider2DomainBin = ?GET_DOMAIN_BIN(Provider2),
  