anchor.diff:      UserInfo3 = #{uid => UserId3},
       CredState = <<"some_cred">>,
       Cred = <<"secret">>,
  -    MeckModules = [tts_data_sqlite, tts_cred_sup, tts_cred_worker],
  +    MeckModules = [tts_data_sqlite, tts_cred_sup, tts_cred_worker, tts_service],
       Token = #{},
       Params = [],
       MyPid = self(),
  -    AddFun = fun(User, Service, State) ->
  +    Interface = <<"test interface">>,
  +    AddFun = fun(User, Service, IFace, State) ->
  +                     IFace = Interface,
                        User = UserId1,
                        Service = ServiceId,
                        State = CredState,
  
positive.code:     ok = meck:expect(tts_cred_worker, revoke, RevokeFun),
  
      {ok, Pid} = tts_credential:start_link(),
      {ok, Cred, []} = tts_credential:revoke(ServiceId, UserInfo1),
      {error, {script, <<>>}, []} = tts_credential:revoke(ServiceId, UserInfo2),
      {error, {internal, just_because}, []} = tts_credential:revoke(ServiceId, UserInfo3),
      Result =  tts_credential:revoke(ServiceId, UserInfo4),
      io:format("Result: ~p~n",[Result]),
      Result = {error, not_found},
      ok = tts_credential:stop(),
      ok = test_util:wait_for_process_to_die(Pid,100),
      ok = test_util:meck_done(MeckModules),
  
negative.code:     MeckModules = [tts_data_sqlite],
      GetFun = fun(User) ->
                       User = UserId,
                       {ok, [#{service_id => ServiceId}]}
               end,
      ok = test_util:meck_new(MeckModules),
      ok = meck:expect(tts_data_sqlite, credential_get_list, GetFun),
  
  
      {ok, Pid} = tts_credential:start_link(),
      {ok, [#{service_id := ServiceId}]} = tts_credential:get_list(UserId),
      ok = tts_credential:stop(),
      ok = test_util:wait_for_process_to_die(Pid,100),
      ok = test_util:meck_done(MeckModules),
  