public void EnforceRule_Throws_An_ValidationException_When_Delivery_Is_Null()
        {
            // Arrange
            var sut = new ExistsDeliverySpecification();

            // Assert
            Assert.Throws <ValidationException>(() => sut.EnforceRule(null, It.IsAny <string>()));
        }
        public void EnforceRule_Does_Not_Throw_Any_Exception_When_Delivery_Is_Not_Null()
        {
            // Arrange
            var sut = new ExistsDeliverySpecification();
            // Act
            var exception = Record.Exception(() => sut.EnforceRule(NewDelivery(), It.IsAny <string>()));

            // Assert
            Assert.Null(exception);
        }