public void GetOrder_Test()
        {
            // arrange
            var id = "443501";

            // act
            var order = _repoAuth.GetOrder(id).Result;

            // assert
            Assert.NotNull(order);
        }
Exemple #2
0
 /// <summary>
 /// Get details of an order
 /// </summary>
 /// <param name="id">Order Id</param>
 /// <returns>Order object</returns>
 public Order GetOrder(string id)
 {
     return(_repository.GetOrder(id).Result);
 }