anchor.diff:  get_metadata_test_base(
       MetadataType, FileType, _FilePath, FileGuid, ShareId,
       ValidateRestCallResultFun, ValidateGsCallResultFun,
  -    Providers, _ClientSpec, DataSpec, QsParameters, Config
  +    Providers, ClientSpec, DataSpec, QsParameters, Config
   ) ->
       FileShareGuid = file_id:guid_to_share_guid(FileGuid, ShareId),
       {ok, FileShareObjectId} = file_id:guid_to_objectid(FileShareGuid),
  -
  -    % Special case -> any user can make requests for shares but if request is
  -    % being made using credentials by user not supported on specific provider
  -    % ?ERROR_USER_NOT_SUPPORTED will be returned
  -    ClientSpec = #client_spec{
  -        correct = [?NOBODY, ?USER_IN_SPACE_1_AUTH, ?USER_IN_SPACE_2_AUTH, ?USER_IN_BOTH_SPACES_AUTH],
  -        unauthorized = [],
  -        forbidden = [],
  -        supported_clients_per_node = ?SUPPORTED_CLIENTS_PER_NODE(Config)
  -    },
   
       ?assert(api_test_utils:run_scenarios(Config, [
           #scenario_spec{
  
positive.code:         }
      },
  
      ConstructVerifyEnvForSuccessfulCallsFun = fun(FileGuid) -> fun
          (false, #api_test_ctx{node = TestNode}) ->
              ?assertMatch({error, ?ENODATA}, GetMetadataFun(TestNode, FileGuid), ?ATTEMPTS),
              true;
          (true, #api_test_ctx{node = TestNode, data = #{<<"metadata">> := Metadata}}) ->
              lists:foreach(fun(Node) ->
                  ?assertMatch({ok, Metadata}, GetMetadataFun(Node, FileGuid), ?ATTEMPTS)
              end, Providers),
  
              case Metadata of
                  ?RDF_METADATA_1 ->
                      % Do nothing after setting ?RDF_METADATA_1 to test
                      % overriding it by ?RDF_METADATA_2
                      ok;
                  ?RDF_METADATA_2 ->
                      % Remove ?RDF_METADATA_2 to test setting ?RDF_METADATA_1 on clean state
                      ?assertMatch(ok, RemoveMetadataFun(TestNode, FileGuid)),
                      % Wait for removal to be synced between providers.
                      lists:foreach(fun(Node) ->
                          ?assertMatch({error, ?ENODATA}, GetMetadataFun(Node, FileGuid), ?ATTEMPTS)
                      end, Providers)
              end,
              true
      end end,
  
      set_metadata_test_base(
          Config,
          <<"rdf">>,
  
          GetMetadataFun,
          RemoveMetadataFun,
          % Setting rdf metadata with correct values should always succeed
          fun(_) -> ok end,
          ConstructVerifyEnvForSuccessfulCallsFun,
  
          DataSpec,
          ShareId,
          [
              {<<"dir">>, DirPath, DirGuid},
              {<<"file">>, RegularFilePath, RegularFileGuid}
          ]
      ).
  
  
  set_json_metadata_test(Config) ->
  
negative.code: 
  init_per_testcase(_Case, Config) ->
      initializer:mock_share_logic(Config),
      ct:timetrap({minutes, 15}),
      lfm_proxy:init(Config).
  
  
  