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:
2026-10-26 01:57:10 +00:00
co-authored by Claude Sonnet 5.5
parent 08e063d22e
commit 9d89323864
50 changed files with 1427 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# AbstractOrderAssert.java: annotation line, class declaration and the isPaid() method, verbatim
@javax.annotation.Generated(value="assertj-assertions-generator")
public abstract class AbstractOrderAssert<S extends AbstractOrderAssert<S, A>, A extends Order> extends AbstractObjectAssert<S, A> {
public S isPaid() {
// check that actual Order we want to make assertions on is not null.
isNotNull();
// check that property call/field access is true
if (!actual.isPaid()) {
failWithMessage("\nExpecting that actual Order is paid but is not.");
}
// return the current assertion for method chaining
return myself;
}