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

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

            // act
            var holds = _repoAuth.GetAccountHolds(id).Result;

            // assert
            Assert.NotNull(holds);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Get account holds for user
 /// </summary>
 /// <param name="id">String of account id</param>
 /// <returns>AccoutHold object array</returns>
 public AccountHold[] GetAccountHolds(string id)
 {
     return(_repository.GetAccountHolds(id).Result);
 }