public void GetAccountBalance_Test()
        {
            // act
            var account = _repoAuth.GetAccounts().Result;

            // arrange
            var id = account[0].id;

            // act
            var balance = _repoAuth.GetAccountBalance(id).Result;

            // assert
            Assert.NotNull(balance);
        }
Пример #2
0
 /// <summary>
 /// Get account balances for user
 /// </summary>
 /// <param name="id">String of account id</param>
 /// <returns>Accout object</returns>
 public Account GetAccountBalance(string id)
 {
     return(_repository.GetAccountBalance(id).Result);
 }