
com.foursoft.vecmodel.vec120.AbstractVecBooleanValuePropertyAssert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vec120-assertions Show documentation
Show all versions of vec120-assertions Show documentation
The Assertions Library for VEC version 1.2.0.
package com.foursoft.vecmodel.vec120;
/**
* Abstract base class for {@link VecBooleanValueProperty} specific assertions - Generated by CustomAssertionGenerator.
*/
@javax.annotation.Generated(value="assertj-assertions-generator")
public abstract class AbstractVecBooleanValuePropertyAssert, A extends VecBooleanValueProperty> extends AbstractVecCustomPropertyAssert {
/**
* Creates a new {@link AbstractVecBooleanValuePropertyAssert}
to make assertions on actual VecBooleanValueProperty.
* @param actual the VecBooleanValueProperty we want to make assertions on.
*/
protected AbstractVecBooleanValuePropertyAssert(A actual, Class selfType) {
super(actual, selfType);
}
/**
* Verifies that the actual VecBooleanValueProperty is value.
* @return this assertion object.
* @throws AssertionError - if the actual VecBooleanValueProperty is not value.
*/
public S isValue() {
// check that actual VecBooleanValueProperty we want to make assertions on is not null.
isNotNull();
// check that property call/field access is true
if (!actual.isValue()) {
failWithMessage("\nExpecting that actual VecBooleanValueProperty is value but is not.");
}
// return the current assertion for method chaining
return myself;
}
/**
* Verifies that the actual VecBooleanValueProperty is not value.
* @return this assertion object.
* @throws AssertionError - if the actual VecBooleanValueProperty is value.
*/
public S isNotValue() {
// check that actual VecBooleanValueProperty we want to make assertions on is not null.
isNotNull();
// check that property call/field access is false
if (actual.isValue()) {
failWithMessage("\nExpecting that actual VecBooleanValueProperty is not value but is.");
}
// return the current assertion for method chaining
return myself;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy