Files

14 lines
489 B
Plaintext

allSatisfy, one element violates the rule: (stack frames omitted)
Expecting all elements of:
[OrderLine[sku=BOOK-1, quantity=2, unitPrice=12.50],
OrderLine[sku=PEN-7, quantity=10, unitPrice=1.20],
OrderLine[sku=BAG-3, quantity=1, unitPrice=40.00]]
to satisfy given requirements, but these elements did not:
OrderLine[sku=PEN-7, quantity=10, unitPrice=1.20]
error: java.lang.AssertionError: [quantity of PEN-7]
Expecting actual:
10
to be less than:
5