public void ListingBatchOperatorsResultsInRepositoryAndMappingsOfTheSameSize() { operatorSource.SaveOperator(helper.GetJaneDoeOperator()); operatorSource.SaveOperator(helper.GetJaneDoeOperator()); operatorSource.FindAllBatchOperators(); Assert.AreEqual(operatorSource.OperatorRepository.Count, operatorSource.BatchOperatorIdMappings.Count); }
void ImportPurchaseOrderInformation() { operatorSource.FindAllBatchOperators(); BatchOperatorsList = operatorSource.OperatorRepository; PONumber = purchaseOrder.PONumber.ToString(); ReceivingDate = purchaseOrder.ReceivingDate; ReceivedBatches = purchaseOrder.ReceivedBatches; SelectedOperatorIndex = FindSelectedOperatorIndexFromRepository(); inventorySource.UpdateActiveInventory(); }