Esempio n. 1
0
 public void FillGrids()
 {
     pp = new ParcelProcessor();
     pp.ReadXML();
     FillInsuranceGrid();
     FillMailGrid();
     FillRegularGrid();
     FillHeavyGrid();
 }
        public void Process_ShouldArgumentNullException_IfContainerIsNull()
        {
            //  Arrange
            var sut = new ParcelProcessor(NullLogger <ParcelProcessor> .Instance, null, null);

            //  Act
            Action act = () => sut.Process(null);

            //  Assert
            act.Should().Throw <ArgumentNullException>();
        }