/** * Verifies that the actual JobBatchRecordValue is truncated. * @return this assertion object. * @throws AssertionError - if the actual JobBatchRecordValue is not truncated. */ public S isTruncated() { // check that actual JobBatchRecordValue we want to make assertions on is not null. isNotNull(); // check that property call/field access is true if (!actual.isTruncated()) { failWithMessage("\nExpecting that actual JobBatchRecordValue is truncated but is not."); } // return the current assertion for method chaining return myself; }
/** * Verifies that the actual JobBatchRecordValue is not truncated. * @return this assertion object. * @throws AssertionError - if the actual JobBatchRecordValue is truncated. */ public S isNotTruncated() { // check that actual JobBatchRecordValue we want to make assertions on is not null. isNotNull(); // check that property call/field access is false if (actual.isTruncated()) { failWithMessage("\nExpecting that actual JobBatchRecordValue is not truncated but is."); } // return the current assertion for method chaining return myself; }