public void BulkShippingUpdateValidationService_ValidateAndBulkShippingUpdateOrders_ShouldReturnListOfOrdersAndNoErrors()
        {
            var parseErrors = new Dictionary <string, List <string> >();
            var items       = _bulkShippingUpdateValidationService.ValidateAndBulkShippingUpdateOrders(new MemoryStream(GetFile()), ref parseErrors);

            items.Count.ShouldBeEquivalentTo(1);
            parseErrors.Count.ShouldBeEquivalentTo(0);
        }
 private List <BulkShippingUpdateDataTransferObject> GetOrdersFromFile(Stream file,
                                                                       out Dictionary <string, List <string> >
                                                                       parseErrors)
 {
     parseErrors = new Dictionary <string, List <string> >();
     return(_bulkShippingUpdateValidationService.ValidateAndBulkShippingUpdateOrders(file, ref parseErrors));
 }