public void GetId() { var id = _usedCacheRepository.GetId(1); var id1 = _usedCacheRepository.GetId(1); Assert.Equal(id, id1); }
public void GetId() { var userId = _usedCacheRepository.Insert(new User { UserName = "******", Status = UserStatus.Ok }); var id = _usedCacheRepository.GetId(userId); var id1 = _usedCacheRepository.GetId(userId); Assert.Equal(id, id1); }