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 @@
|
||||
expected exception, nothing thrown: (stack frames omitted)
|
||||
Expecting code to raise a throwable.
|
||||
wrong message: (stack frames omitted)
|
||||
Expecting message to be:
|
||||
"payment failed"
|
||||
but was:
|
||||
"payment failed for order o-45"
|
||||
|
||||
Throwable that failed the check:
|
||||
|
||||
lab.assertj.custom.CheckoutException: payment failed for order o-45
|
||||
Caused by: java.lang.IllegalStateException: gateway unavailable
|
||||
Caused by: java.io.IOException: connection reset by gateway
|
||||
wrong type: (stack frames omitted)
|
||||
Expecting actual throwable to be an instance of:
|
||||
java.lang.IllegalStateException
|
||||
but was:
|
||||
lab.assertj.custom.CheckoutException: payment failed for order o-45
|
||||
Reference in New Issue
Block a user