Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CifR2BE7PBvRy5hT8TS9oz
16 lines
653 B
Plaintext
16 lines
653 B
Plaintext
# 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;
|
|
}
|