Beispiel #1
0
        public async Task GetShouldReturnNewUserBalanceEntityIfNotExists()
        {
            var userId            = 123;
            var userBalanceEntity = await _sut.Get(userId);

            Assert.NotNull(userBalanceEntity);
            Assert.AreEqual(userId.ToString(), userBalanceEntity.RowKey);
        }
Beispiel #2
0
 public UserBalance Get(int id)
 {
     return(repo.Get(id));
 }