(double quantity)
| 204 | //Location |
| 205 | |
| 206 | public void setQuantity(double quantity) { |
| 207 | if (quantity < 0) throw new CustomException("The quantity should not be negative", HttpStatus.NOT_ACCEPTABLE); |
| 208 | this.quantity = quantity; |
| 209 | } |
| 210 | |
| 211 | public void setMinQuantity(double minQuantity) { |
| 212 | if (minQuantity < 0) |
no outgoing calls
no test coverage detected