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

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

            // act
            var history = _repoAuth.GetAccountHistory(id).Result;

            // assert
            Assert.NotNull(history);
        }
示例#2
0
 /// <summary>
 /// Get account history for user
 /// </summary>
 /// <param name="id">String of account id</param>
 /// <returns>AccountHistory object array</returns>
 public AccountHistory[] GetAccountHistory(string id)
 {
     return(_repository.GetAccountHistory(id).Result);
 }