public void ListingBatchOperatorsResultsInRepositoryAndMappingsOfTheSameSize()
        {
            operatorSource.SaveOperator(helper.GetJaneDoeOperator());
            operatorSource.SaveOperator(helper.GetJaneDoeOperator());
            operatorSource.FindAllBatchOperators();

            Assert.AreEqual(operatorSource.OperatorRepository.Count, operatorSource.BatchOperatorIdMappings.Count);
        }
示例#2
0
 void ImportPurchaseOrderInformation()
 {
     operatorSource.FindAllBatchOperators();
     BatchOperatorsList    = operatorSource.OperatorRepository;
     PONumber              = purchaseOrder.PONumber.ToString();
     ReceivingDate         = purchaseOrder.ReceivingDate;
     ReceivedBatches       = purchaseOrder.ReceivedBatches;
     SelectedOperatorIndex = FindSelectedOperatorIndexFromRepository();
     inventorySource.UpdateActiveInventory();
 }