All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.foursoft.vecmodel.vec120.AbstractVecBooleanValuePropertyAssert Maven / Gradle / Ivy

There is a newer version: 1.5.2
Show newest version
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;
  }

}