Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [TestMethod, Benchmark]
- public void Inventory_GetInv_Ok()
- {
- //ARRANGE
- var items = new List<ItemRequest> {
- new ItemRequest { SKU = "0010015488000060", ReqQty = 2 } ,
- new ItemRequest { SKU = "0010015491000060", ReqQty = 1 }
- };
- //ACT
- //This is a WCF SOAP client making a service request.
- invResponse = client.GetInv("US", items);
- var inventory = invResponse.ItemInvResults;
- //ASSERT
- Assert.AreEqual(2, inventory.Count);
- Assert.IsTrue(inventory.Any(x => x.AvailQty > 0));
- }
Add Comment
Please, Sign In to add comment