public void GetReport(MainViewModelData.GetReportData data) { vm.ItemListLocation = data.ItemListLocation; vm.PayPalFileLocation = data.AmazonReportLocation; vm.GetReport(); Assert.AreEqual(data.OrderItemsCount, vm.OrderItems.Count, data.Title); Assert.AreEqual(data.ItemListCount, vm.ItemList.Count, data.Title); }
public void GetItemListFromFile(MainViewModelData.GetReportData data) { vm.ItemListLocation = data.ItemListLocation; vm.GetItemListFromFile(); Assert.AreEqual(data.ItemListCount, vm.ItemList.Count, data.Title); }