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

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

There is a newer version: 1.5.2
Show newest version
package com.foursoft.vecmodel.vec120;

import org.assertj.core.api.Assertions;
import org.assertj.core.internal.Iterables;
import org.assertj.core.util.Objects;

/**
 * Abstract base class for {@link VecCartesianPoint3D} specific assertions - Generated by CustomAssertionGenerator.
 */
@javax.annotation.Generated(value="assertj-assertions-generator")
public abstract class AbstractVecCartesianPoint3DAssert, A extends VecCartesianPoint3D> extends AbstractVecExtendableElementAssert {

  /**
   * Creates a new {@link AbstractVecCartesianPoint3DAssert} to make assertions on actual VecCartesianPoint3D.
   * @param actual the VecCartesianPoint3D we want to make assertions on.
   */
  protected AbstractVecCartesianPoint3DAssert(A actual, Class selfType) {
    super(actual, selfType);
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's parentBuildingBlockSpecification3D is equal to the given one.
   * @param parentBuildingBlockSpecification3D the given parentBuildingBlockSpecification3D to compare the actual VecCartesianPoint3D's parentBuildingBlockSpecification3D to.
   * @return this assertion object.
   * @throws AssertionError - if the actual VecCartesianPoint3D's parentBuildingBlockSpecification3D is not equal to the given one.
   */
  public S hasParentBuildingBlockSpecification3D(VecBuildingBlockSpecification3D parentBuildingBlockSpecification3D) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // overrides the default error message with a more explicit one
    String assertjErrorMessage = "\nExpecting parentBuildingBlockSpecification3D of:\n  <%s>\nto be:\n  <%s>\nbut was:\n  <%s>";

    // null safe check
    VecBuildingBlockSpecification3D actualParentBuildingBlockSpecification3D = actual.getParentBuildingBlockSpecification3D();
    if (!Objects.areEqual(actualParentBuildingBlockSpecification3D, parentBuildingBlockSpecification3D)) {
      failWithMessage(assertjErrorMessage, actual, parentBuildingBlockSpecification3D, actualParentBuildingBlockSpecification3D);
    }

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's parentLocalGeometrySpecification is equal to the given one.
   * @param parentLocalGeometrySpecification the given parentLocalGeometrySpecification to compare the actual VecCartesianPoint3D's parentLocalGeometrySpecification to.
   * @return this assertion object.
   * @throws AssertionError - if the actual VecCartesianPoint3D's parentLocalGeometrySpecification is not equal to the given one.
   */
  public S hasParentLocalGeometrySpecification(VecLocalGeometrySpecification parentLocalGeometrySpecification) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // overrides the default error message with a more explicit one
    String assertjErrorMessage = "\nExpecting parentLocalGeometrySpecification of:\n  <%s>\nto be:\n  <%s>\nbut was:\n  <%s>";

    // null safe check
    VecLocalGeometrySpecification actualParentLocalGeometrySpecification = actual.getParentLocalGeometrySpecification();
    if (!Objects.areEqual(actualParentLocalGeometrySpecification, parentLocalGeometrySpecification)) {
      failWithMessage(assertjErrorMessage, actual, parentLocalGeometrySpecification, actualParentLocalGeometrySpecification);
    }

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refGeometryNode3D contains the given VecGeometryNode3D elements.
   * @param refGeometryNode3D the given elements that should be contained in actual VecCartesianPoint3D's refGeometryNode3D.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refGeometryNode3D does not contain all given VecGeometryNode3D elements.
   */
  public S hasRefGeometryNode3D(VecGeometryNode3D... refGeometryNode3D) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecGeometryNode3D varargs is not null.
    if (refGeometryNode3D == null) failWithMessage("Expecting refGeometryNode3D parameter not to be null.");

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContains(info, actual.getRefGeometryNode3D(), refGeometryNode3D);

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refGeometryNode3D contains the given VecGeometryNode3D elements in Collection.
   * @param refGeometryNode3D the given elements that should be contained in actual VecCartesianPoint3D's refGeometryNode3D.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refGeometryNode3D does not contain all given VecGeometryNode3D elements.
   */
  public S hasRefGeometryNode3D(java.util.Collection refGeometryNode3D) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecGeometryNode3D collection is not null.
    if (refGeometryNode3D == null) {
      failWithMessage("Expecting refGeometryNode3D parameter not to be null.");
      return myself; // to fool Eclipse "Null pointer access" warning on toArray.
    }

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContains(info, actual.getRefGeometryNode3D(), refGeometryNode3D.toArray());

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refGeometryNode3D contains only the given VecGeometryNode3D elements and nothing else in whatever order.
   * @param refGeometryNode3D the given elements that should be contained in actual VecCartesianPoint3D's refGeometryNode3D.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refGeometryNode3D does not contain all given VecGeometryNode3D elements.
   */
  public S hasOnlyRefGeometryNode3D(VecGeometryNode3D... refGeometryNode3D) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecGeometryNode3D varargs is not null.
    if (refGeometryNode3D == null) failWithMessage("Expecting refGeometryNode3D parameter not to be null.");

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContainsOnly(info, actual.getRefGeometryNode3D(), refGeometryNode3D);

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refGeometryNode3D contains only the given VecGeometryNode3D elements in Collection and nothing else in whatever order.
   * @param refGeometryNode3D the given elements that should be contained in actual VecCartesianPoint3D's refGeometryNode3D.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refGeometryNode3D does not contain all given VecGeometryNode3D elements.
   */
  public S hasOnlyRefGeometryNode3D(java.util.Collection refGeometryNode3D) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecGeometryNode3D collection is not null.
    if (refGeometryNode3D == null) {
      failWithMessage("Expecting refGeometryNode3D parameter not to be null.");
      return myself; // to fool Eclipse "Null pointer access" warning on toArray.
    }

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContainsOnly(info, actual.getRefGeometryNode3D(), refGeometryNode3D.toArray());

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refGeometryNode3D does not contain the given VecGeometryNode3D elements.
   *
   * @param refGeometryNode3D the given elements that should not be in actual VecCartesianPoint3D's refGeometryNode3D.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refGeometryNode3D contains any given VecGeometryNode3D elements.
   */
  public S doesNotHaveRefGeometryNode3D(VecGeometryNode3D... refGeometryNode3D) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecGeometryNode3D varargs is not null.
    if (refGeometryNode3D == null) failWithMessage("Expecting refGeometryNode3D parameter not to be null.");

    // check with standard error message (use overridingErrorMessage before contains to set your own message).
    Iterables.instance().assertDoesNotContain(info, actual.getRefGeometryNode3D(), refGeometryNode3D);

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refGeometryNode3D does not contain the given VecGeometryNode3D elements in Collection.
   *
   * @param refGeometryNode3D the given elements that should not be in actual VecCartesianPoint3D's refGeometryNode3D.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refGeometryNode3D contains any given VecGeometryNode3D elements.
   */
  public S doesNotHaveRefGeometryNode3D(java.util.Collection refGeometryNode3D) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecGeometryNode3D collection is not null.
    if (refGeometryNode3D == null) {
      failWithMessage("Expecting refGeometryNode3D parameter not to be null.");
      return myself; // to fool Eclipse "Null pointer access" warning on toArray.
    }

    // check with standard error message (use overridingErrorMessage before contains to set your own message).
    Iterables.instance().assertDoesNotContain(info, actual.getRefGeometryNode3D(), refGeometryNode3D.toArray());

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D has no refGeometryNode3D.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refGeometryNode3D is not empty.
   */
  public S hasNoRefGeometryNode3D() {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // we override the default error message with a more explicit one
    String assertjErrorMessage = "\nExpecting :\n  <%s>\nnot to have refGeometryNode3D but had :\n  <%s>";

    // check
    if (actual.getRefGeometryNode3D().iterator().hasNext()) {
      failWithMessage(assertjErrorMessage, actual, actual.getRefGeometryNode3D());
    }

    // return the current assertion for method chaining
    return myself;
  }


  /**
   * Verifies that the actual VecCartesianPoint3D's refLocalPosition contains the given VecLocalPosition elements.
   * @param refLocalPosition the given elements that should be contained in actual VecCartesianPoint3D's refLocalPosition.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refLocalPosition does not contain all given VecLocalPosition elements.
   */
  public S hasRefLocalPosition(VecLocalPosition... refLocalPosition) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecLocalPosition varargs is not null.
    if (refLocalPosition == null) failWithMessage("Expecting refLocalPosition parameter not to be null.");

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContains(info, actual.getRefLocalPosition(), refLocalPosition);

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refLocalPosition contains the given VecLocalPosition elements in Collection.
   * @param refLocalPosition the given elements that should be contained in actual VecCartesianPoint3D's refLocalPosition.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refLocalPosition does not contain all given VecLocalPosition elements.
   */
  public S hasRefLocalPosition(java.util.Collection refLocalPosition) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecLocalPosition collection is not null.
    if (refLocalPosition == null) {
      failWithMessage("Expecting refLocalPosition parameter not to be null.");
      return myself; // to fool Eclipse "Null pointer access" warning on toArray.
    }

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContains(info, actual.getRefLocalPosition(), refLocalPosition.toArray());

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refLocalPosition contains only the given VecLocalPosition elements and nothing else in whatever order.
   * @param refLocalPosition the given elements that should be contained in actual VecCartesianPoint3D's refLocalPosition.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refLocalPosition does not contain all given VecLocalPosition elements.
   */
  public S hasOnlyRefLocalPosition(VecLocalPosition... refLocalPosition) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecLocalPosition varargs is not null.
    if (refLocalPosition == null) failWithMessage("Expecting refLocalPosition parameter not to be null.");

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContainsOnly(info, actual.getRefLocalPosition(), refLocalPosition);

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refLocalPosition contains only the given VecLocalPosition elements in Collection and nothing else in whatever order.
   * @param refLocalPosition the given elements that should be contained in actual VecCartesianPoint3D's refLocalPosition.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refLocalPosition does not contain all given VecLocalPosition elements.
   */
  public S hasOnlyRefLocalPosition(java.util.Collection refLocalPosition) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecLocalPosition collection is not null.
    if (refLocalPosition == null) {
      failWithMessage("Expecting refLocalPosition parameter not to be null.");
      return myself; // to fool Eclipse "Null pointer access" warning on toArray.
    }

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContainsOnly(info, actual.getRefLocalPosition(), refLocalPosition.toArray());

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refLocalPosition does not contain the given VecLocalPosition elements.
   *
   * @param refLocalPosition the given elements that should not be in actual VecCartesianPoint3D's refLocalPosition.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refLocalPosition contains any given VecLocalPosition elements.
   */
  public S doesNotHaveRefLocalPosition(VecLocalPosition... refLocalPosition) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecLocalPosition varargs is not null.
    if (refLocalPosition == null) failWithMessage("Expecting refLocalPosition parameter not to be null.");

    // check with standard error message (use overridingErrorMessage before contains to set your own message).
    Iterables.instance().assertDoesNotContain(info, actual.getRefLocalPosition(), refLocalPosition);

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refLocalPosition does not contain the given VecLocalPosition elements in Collection.
   *
   * @param refLocalPosition the given elements that should not be in actual VecCartesianPoint3D's refLocalPosition.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refLocalPosition contains any given VecLocalPosition elements.
   */
  public S doesNotHaveRefLocalPosition(java.util.Collection refLocalPosition) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecLocalPosition collection is not null.
    if (refLocalPosition == null) {
      failWithMessage("Expecting refLocalPosition parameter not to be null.");
      return myself; // to fool Eclipse "Null pointer access" warning on toArray.
    }

    // check with standard error message (use overridingErrorMessage before contains to set your own message).
    Iterables.instance().assertDoesNotContain(info, actual.getRefLocalPosition(), refLocalPosition.toArray());

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D has no refLocalPosition.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refLocalPosition is not empty.
   */
  public S hasNoRefLocalPosition() {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // we override the default error message with a more explicit one
    String assertjErrorMessage = "\nExpecting :\n  <%s>\nnot to have refLocalPosition but had :\n  <%s>";

    // check
    if (actual.getRefLocalPosition().iterator().hasNext()) {
      failWithMessage(assertjErrorMessage, actual, actual.getRefLocalPosition());
    }

    // return the current assertion for method chaining
    return myself;
  }


  /**
   * Verifies that the actual VecCartesianPoint3D's refNURBSControlPoint contains the given VecNURBSControlPoint elements.
   * @param refNURBSControlPoint the given elements that should be contained in actual VecCartesianPoint3D's refNURBSControlPoint.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refNURBSControlPoint does not contain all given VecNURBSControlPoint elements.
   */
  public S hasRefNURBSControlPoint(VecNURBSControlPoint... refNURBSControlPoint) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecNURBSControlPoint varargs is not null.
    if (refNURBSControlPoint == null) failWithMessage("Expecting refNURBSControlPoint parameter not to be null.");

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContains(info, actual.getRefNURBSControlPoint(), refNURBSControlPoint);

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refNURBSControlPoint contains the given VecNURBSControlPoint elements in Collection.
   * @param refNURBSControlPoint the given elements that should be contained in actual VecCartesianPoint3D's refNURBSControlPoint.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refNURBSControlPoint does not contain all given VecNURBSControlPoint elements.
   */
  public S hasRefNURBSControlPoint(java.util.Collection refNURBSControlPoint) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecNURBSControlPoint collection is not null.
    if (refNURBSControlPoint == null) {
      failWithMessage("Expecting refNURBSControlPoint parameter not to be null.");
      return myself; // to fool Eclipse "Null pointer access" warning on toArray.
    }

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContains(info, actual.getRefNURBSControlPoint(), refNURBSControlPoint.toArray());

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refNURBSControlPoint contains only the given VecNURBSControlPoint elements and nothing else in whatever order.
   * @param refNURBSControlPoint the given elements that should be contained in actual VecCartesianPoint3D's refNURBSControlPoint.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refNURBSControlPoint does not contain all given VecNURBSControlPoint elements.
   */
  public S hasOnlyRefNURBSControlPoint(VecNURBSControlPoint... refNURBSControlPoint) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecNURBSControlPoint varargs is not null.
    if (refNURBSControlPoint == null) failWithMessage("Expecting refNURBSControlPoint parameter not to be null.");

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContainsOnly(info, actual.getRefNURBSControlPoint(), refNURBSControlPoint);

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refNURBSControlPoint contains only the given VecNURBSControlPoint elements in Collection and nothing else in whatever order.
   * @param refNURBSControlPoint the given elements that should be contained in actual VecCartesianPoint3D's refNURBSControlPoint.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refNURBSControlPoint does not contain all given VecNURBSControlPoint elements.
   */
  public S hasOnlyRefNURBSControlPoint(java.util.Collection refNURBSControlPoint) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecNURBSControlPoint collection is not null.
    if (refNURBSControlPoint == null) {
      failWithMessage("Expecting refNURBSControlPoint parameter not to be null.");
      return myself; // to fool Eclipse "Null pointer access" warning on toArray.
    }

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContainsOnly(info, actual.getRefNURBSControlPoint(), refNURBSControlPoint.toArray());

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refNURBSControlPoint does not contain the given VecNURBSControlPoint elements.
   *
   * @param refNURBSControlPoint the given elements that should not be in actual VecCartesianPoint3D's refNURBSControlPoint.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refNURBSControlPoint contains any given VecNURBSControlPoint elements.
   */
  public S doesNotHaveRefNURBSControlPoint(VecNURBSControlPoint... refNURBSControlPoint) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecNURBSControlPoint varargs is not null.
    if (refNURBSControlPoint == null) failWithMessage("Expecting refNURBSControlPoint parameter not to be null.");

    // check with standard error message (use overridingErrorMessage before contains to set your own message).
    Iterables.instance().assertDoesNotContain(info, actual.getRefNURBSControlPoint(), refNURBSControlPoint);

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refNURBSControlPoint does not contain the given VecNURBSControlPoint elements in Collection.
   *
   * @param refNURBSControlPoint the given elements that should not be in actual VecCartesianPoint3D's refNURBSControlPoint.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refNURBSControlPoint contains any given VecNURBSControlPoint elements.
   */
  public S doesNotHaveRefNURBSControlPoint(java.util.Collection refNURBSControlPoint) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecNURBSControlPoint collection is not null.
    if (refNURBSControlPoint == null) {
      failWithMessage("Expecting refNURBSControlPoint parameter not to be null.");
      return myself; // to fool Eclipse "Null pointer access" warning on toArray.
    }

    // check with standard error message (use overridingErrorMessage before contains to set your own message).
    Iterables.instance().assertDoesNotContain(info, actual.getRefNURBSControlPoint(), refNURBSControlPoint.toArray());

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D has no refNURBSControlPoint.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refNURBSControlPoint is not empty.
   */
  public S hasNoRefNURBSControlPoint() {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // we override the default error message with a more explicit one
    String assertjErrorMessage = "\nExpecting :\n  <%s>\nnot to have refNURBSControlPoint but had :\n  <%s>";

    // check
    if (actual.getRefNURBSControlPoint().iterator().hasNext()) {
      failWithMessage(assertjErrorMessage, actual, actual.getRefNURBSControlPoint());
    }

    // return the current assertion for method chaining
    return myself;
  }


  /**
   * Verifies that the actual VecCartesianPoint3D's refTransformation3D contains the given VecTransformation3D elements.
   * @param refTransformation3D the given elements that should be contained in actual VecCartesianPoint3D's refTransformation3D.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refTransformation3D does not contain all given VecTransformation3D elements.
   */
  public S hasRefTransformation3D(VecTransformation3D... refTransformation3D) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecTransformation3D varargs is not null.
    if (refTransformation3D == null) failWithMessage("Expecting refTransformation3D parameter not to be null.");

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContains(info, actual.getRefTransformation3D(), refTransformation3D);

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refTransformation3D contains the given VecTransformation3D elements in Collection.
   * @param refTransformation3D the given elements that should be contained in actual VecCartesianPoint3D's refTransformation3D.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refTransformation3D does not contain all given VecTransformation3D elements.
   */
  public S hasRefTransformation3D(java.util.Collection refTransformation3D) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecTransformation3D collection is not null.
    if (refTransformation3D == null) {
      failWithMessage("Expecting refTransformation3D parameter not to be null.");
      return myself; // to fool Eclipse "Null pointer access" warning on toArray.
    }

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContains(info, actual.getRefTransformation3D(), refTransformation3D.toArray());

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refTransformation3D contains only the given VecTransformation3D elements and nothing else in whatever order.
   * @param refTransformation3D the given elements that should be contained in actual VecCartesianPoint3D's refTransformation3D.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refTransformation3D does not contain all given VecTransformation3D elements.
   */
  public S hasOnlyRefTransformation3D(VecTransformation3D... refTransformation3D) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecTransformation3D varargs is not null.
    if (refTransformation3D == null) failWithMessage("Expecting refTransformation3D parameter not to be null.");

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContainsOnly(info, actual.getRefTransformation3D(), refTransformation3D);

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refTransformation3D contains only the given VecTransformation3D elements in Collection and nothing else in whatever order.
   * @param refTransformation3D the given elements that should be contained in actual VecCartesianPoint3D's refTransformation3D.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refTransformation3D does not contain all given VecTransformation3D elements.
   */
  public S hasOnlyRefTransformation3D(java.util.Collection refTransformation3D) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecTransformation3D collection is not null.
    if (refTransformation3D == null) {
      failWithMessage("Expecting refTransformation3D parameter not to be null.");
      return myself; // to fool Eclipse "Null pointer access" warning on toArray.
    }

    // check with standard error message, to set another message call: info.overridingErrorMessage("my error message");
    Iterables.instance().assertContainsOnly(info, actual.getRefTransformation3D(), refTransformation3D.toArray());

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refTransformation3D does not contain the given VecTransformation3D elements.
   *
   * @param refTransformation3D the given elements that should not be in actual VecCartesianPoint3D's refTransformation3D.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refTransformation3D contains any given VecTransformation3D elements.
   */
  public S doesNotHaveRefTransformation3D(VecTransformation3D... refTransformation3D) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecTransformation3D varargs is not null.
    if (refTransformation3D == null) failWithMessage("Expecting refTransformation3D parameter not to be null.");

    // check with standard error message (use overridingErrorMessage before contains to set your own message).
    Iterables.instance().assertDoesNotContain(info, actual.getRefTransformation3D(), refTransformation3D);

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's refTransformation3D does not contain the given VecTransformation3D elements in Collection.
   *
   * @param refTransformation3D the given elements that should not be in actual VecCartesianPoint3D's refTransformation3D.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refTransformation3D contains any given VecTransformation3D elements.
   */
  public S doesNotHaveRefTransformation3D(java.util.Collection refTransformation3D) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // check that given VecTransformation3D collection is not null.
    if (refTransformation3D == null) {
      failWithMessage("Expecting refTransformation3D parameter not to be null.");
      return myself; // to fool Eclipse "Null pointer access" warning on toArray.
    }

    // check with standard error message (use overridingErrorMessage before contains to set your own message).
    Iterables.instance().assertDoesNotContain(info, actual.getRefTransformation3D(), refTransformation3D.toArray());

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D has no refTransformation3D.
   * @return this assertion object.
   * @throws AssertionError if the actual VecCartesianPoint3D's refTransformation3D is not empty.
   */
  public S hasNoRefTransformation3D() {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // we override the default error message with a more explicit one
    String assertjErrorMessage = "\nExpecting :\n  <%s>\nnot to have refTransformation3D but had :\n  <%s>";

    // check
    if (actual.getRefTransformation3D().iterator().hasNext()) {
      failWithMessage(assertjErrorMessage, actual, actual.getRefTransformation3D());
    }

    // return the current assertion for method chaining
    return myself;
  }


  /**
   * Verifies that the actual VecCartesianPoint3D's x is equal to the given one.
   * @param x the given x to compare the actual VecCartesianPoint3D's x to.
   * @return this assertion object.
   * @throws AssertionError - if the actual VecCartesianPoint3D's x is not equal to the given one.
   */
  public S hasX(double x) {
    // check that actual VecCartesianPoint3D we want to make assertions on is not null.
    isNotNull();

    // overrides the default error message with a more explicit one
    String assertjErrorMessage = "\nExpecting x of:\n  <%s>\nto be:\n  <%s>\nbut was:\n  <%s>";

    // check value for x
    double actualX = actual.getX();
    if (actualX != x) {
      failWithMessage(assertjErrorMessage, actual, x, actualX);
    }

    // return the current assertion for method chaining
    return myself;
  }

  /**
   * Verifies that the actual VecCartesianPoint3D's x is close to the given value by less than the given offset.
   * 

* If difference is equal to the offset value, assertion is considered successful. * @param x the value to compare the actual VecCartesianPoint3D's x to. * @param assertjOffset the given offset. * @return this assertion object. * @throws AssertionError - if the actual VecCartesianPoint3D's x is not close enough to the given value. */ public S hasXCloseTo(double x, double assertjOffset) { // check that actual VecCartesianPoint3D we want to make assertions on is not null. isNotNull(); double actualX = actual.getX(); // overrides the default error message with a more explicit one String assertjErrorMessage = String.format("\nExpecting x:\n <%s>\nto be close to:\n <%s>\nby less than <%s> but difference was <%s>", actualX, x, assertjOffset, Math.abs(x - actualX)); // check Assertions.assertThat(actualX).overridingErrorMessage(assertjErrorMessage).isCloseTo(x, Assertions.within(assertjOffset)); // return the current assertion for method chaining return myself; } /** * Verifies that the actual VecCartesianPoint3D's y is equal to the given one. * @param y the given y to compare the actual VecCartesianPoint3D's y to. * @return this assertion object. * @throws AssertionError - if the actual VecCartesianPoint3D's y is not equal to the given one. */ public S hasY(double y) { // check that actual VecCartesianPoint3D we want to make assertions on is not null. isNotNull(); // overrides the default error message with a more explicit one String assertjErrorMessage = "\nExpecting y of:\n <%s>\nto be:\n <%s>\nbut was:\n <%s>"; // check value for y double actualY = actual.getY(); if (actualY != y) { failWithMessage(assertjErrorMessage, actual, y, actualY); } // return the current assertion for method chaining return myself; } /** * Verifies that the actual VecCartesianPoint3D's y is close to the given value by less than the given offset. *

* If difference is equal to the offset value, assertion is considered successful. * @param y the value to compare the actual VecCartesianPoint3D's y to. * @param assertjOffset the given offset. * @return this assertion object. * @throws AssertionError - if the actual VecCartesianPoint3D's y is not close enough to the given value. */ public S hasYCloseTo(double y, double assertjOffset) { // check that actual VecCartesianPoint3D we want to make assertions on is not null. isNotNull(); double actualY = actual.getY(); // overrides the default error message with a more explicit one String assertjErrorMessage = String.format("\nExpecting y:\n <%s>\nto be close to:\n <%s>\nby less than <%s> but difference was <%s>", actualY, y, assertjOffset, Math.abs(y - actualY)); // check Assertions.assertThat(actualY).overridingErrorMessage(assertjErrorMessage).isCloseTo(y, Assertions.within(assertjOffset)); // return the current assertion for method chaining return myself; } /** * Verifies that the actual VecCartesianPoint3D's z is equal to the given one. * @param z the given z to compare the actual VecCartesianPoint3D's z to. * @return this assertion object. * @throws AssertionError - if the actual VecCartesianPoint3D's z is not equal to the given one. */ public S hasZ(double z) { // check that actual VecCartesianPoint3D we want to make assertions on is not null. isNotNull(); // overrides the default error message with a more explicit one String assertjErrorMessage = "\nExpecting z of:\n <%s>\nto be:\n <%s>\nbut was:\n <%s>"; // check value for z double actualZ = actual.getZ(); if (actualZ != z) { failWithMessage(assertjErrorMessage, actual, z, actualZ); } // return the current assertion for method chaining return myself; } /** * Verifies that the actual VecCartesianPoint3D's z is close to the given value by less than the given offset. *

* If difference is equal to the offset value, assertion is considered successful. * @param z the value to compare the actual VecCartesianPoint3D's z to. * @param assertjOffset the given offset. * @return this assertion object. * @throws AssertionError - if the actual VecCartesianPoint3D's z is not close enough to the given value. */ public S hasZCloseTo(double z, double assertjOffset) { // check that actual VecCartesianPoint3D we want to make assertions on is not null. isNotNull(); double actualZ = actual.getZ(); // overrides the default error message with a more explicit one String assertjErrorMessage = String.format("\nExpecting z:\n <%s>\nto be close to:\n <%s>\nby less than <%s> but difference was <%s>", actualZ, z, assertjOffset, Math.abs(z - actualZ)); // check Assertions.assertThat(actualZ).overridingErrorMessage(assertjErrorMessage).isCloseTo(z, Assertions.within(assertjOffset)); // return the current assertion for method chaining return myself; } }