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); }
/// <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); }