/// <summary> /// <see cref="IBankDataInserter.SaveAccessToken"/> /// </summary> public void SaveAccessToken(string login, string accessToken) { var userId = _indexesFinder.GetUserId(login); _dataSaver.SaveToken(userId, accessToken); }
public void getUserId_existingLogin_returnsId() { var id = _indexesFinder.GetUserId(ExistingLogin); Assert.AreEqual(ExistingLoginId, id); }