
io.zeebe.protocol.record.intent.AbstractProcessInstanceResultIntentAssert Maven / Gradle / Ivy
package io.zeebe.protocol.record.intent;
import org.assertj.core.api.AbstractComparableAssert;
/**
* Abstract base class for {@link ProcessInstanceResultIntent} specific assertions - Generated by CustomAssertionGenerator.
*/
@javax.annotation.Generated(value="assertj-assertions-generator")
public abstract class AbstractProcessInstanceResultIntentAssert, A extends ProcessInstanceResultIntent> extends AbstractComparableAssert {
/**
* Creates a new {@link AbstractProcessInstanceResultIntentAssert}
to make assertions on actual ProcessInstanceResultIntent.
* @param actual the ProcessInstanceResultIntent we want to make assertions on.
*/
protected AbstractProcessInstanceResultIntentAssert(A actual, Class selfType) {
super(actual, selfType);
}
/**
* Verifies that the actual ProcessInstanceResultIntent should blacklist instance on error.
* @return this assertion object.
* @throws AssertionError - if the actual ProcessInstanceResultIntent should not blacklist instance on error.
*/
public S shouldBlacklistInstanceOnError() {
// check that actual ProcessInstanceResultIntent we want to make assertions on is not null.
isNotNull();
// check that property call/field access is true
if (!actual.shouldBlacklistInstanceOnError()) {
failWithMessage("\nExpecting that actual ProcessInstanceResultIntent should blacklist instance on error but should not.");
}
// return the current assertion for method chaining
return myself;
}
/**
* Verifies that the actual ProcessInstanceResultIntent should not blacklist instance on error.
* @return this assertion object.
* @throws AssertionError - if the actual ProcessInstanceResultIntent should blacklist instance on error.
*/
public S shouldNotBlacklistInstanceOnError() {
// check that actual ProcessInstanceResultIntent we want to make assertions on is not null.
isNotNull();
// check that property call/field access is false
if (actual.shouldBlacklistInstanceOnError()) {
failWithMessage("\nExpecting that actual ProcessInstanceResultIntent should not blacklist instance on error but should.");
}
// return the current assertion for method chaining
return myself;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy