public void InValidTrolleyQuantityShouldPassValidation()
        {
            //Arrange
            var quantity = new TrolleyQuantityDto
            {
                Quantity = -1,
                Name     = "TestProduct"
            };
            var validator = new TrolleyQuantityValidator();
            //Act
            var result = validator.TestValidate(quantity);

            //Assert
            result.ShouldHaveValidationErrorFor(i => i.Quantity);
        }
        public void ValidTrolleyQuantityShouldPassValidation()
        {
            //Arrange
            var quantity = new TrolleyQuantityDto
            {
                Quantity = 10,
                Name     = "TestProduct"
            };
            var validator = new TrolleyQuantityValidator();
            //Act
            var result = validator.TestValidate(quantity);

            //Assert
            result.ShouldNotHaveAnyValidationErrors();
        }