assertj: AssertJ 3.27.7 lab (soft assertions, recursive comparison, custom and generated assertions)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CifR2BE7PBvRy5hT8TS9oz
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
hasStatus(SHIPPED):
|
||||
Expecting status of:
|
||||
<Order{id=o-1, status=PAID, total=75.00}>
|
||||
to be:
|
||||
<SHIPPED>
|
||||
but was:
|
||||
<PAID>
|
||||
isNotPaid():
|
||||
Expecting that actual Order is not paid but is.
|
||||
hasTotal(new BigDecimal("75")) against 75.00:
|
||||
Expecting total of:
|
||||
<Order{id=o-1, status=PAID, total=75.00}>
|
||||
to be:
|
||||
<75>
|
||||
but was:
|
||||
<75.00>
|
||||
null actual:
|
||||
Expecting actual not to be null
|
||||
Reference in New Issue
Block a user