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

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

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

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

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

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

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

    // check that given String varargs is not null.
    if (compatibleTypes == null) failWithMessage("Expecting compatibleTypes 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.getCompatibleTypes(), compatibleTypes);

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

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

    // check that given String collection is not null.
    if (compatibleTypes == null) {
      failWithMessage("Expecting compatibleTypes 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.getCompatibleTypes(), compatibleTypes.toArray());

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

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

    // check that given String varargs is not null.
    if (compatibleTypes == null) failWithMessage("Expecting compatibleTypes 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.getCompatibleTypes(), compatibleTypes);

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

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

    // check that given String collection is not null.
    if (compatibleTypes == null) {
      failWithMessage("Expecting compatibleTypes 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.getCompatibleTypes(), compatibleTypes.toArray());

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

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

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

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

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

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

    // check that given String collection is not null.
    if (compatibleTypes == null) {
      failWithMessage("Expecting compatibleTypes 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.getCompatibleTypes(), compatibleTypes.toArray());

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

  /**
   * Verifies that the actual VecHousingComponent has no compatibleTypes.
   * @return this assertion object.
   * @throws AssertionError if the actual VecHousingComponent's compatibleTypes is not empty.
   */
  public S hasNoCompatibleTypes() {
    // check that actual VecHousingComponent 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 compatibleTypes but had :\n  <%s>";

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

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


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

    // check that given VecAbstractLocalizedString varargs is not null.
    if (descriptions == null) failWithMessage("Expecting descriptions 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.getDescriptions(), descriptions);

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

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

    // check that given VecAbstractLocalizedString collection is not null.
    if (descriptions == null) {
      failWithMessage("Expecting descriptions 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.getDescriptions(), descriptions.toArray());

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

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

    // check that given VecAbstractLocalizedString varargs is not null.
    if (descriptions == null) failWithMessage("Expecting descriptions 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.getDescriptions(), descriptions);

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

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

    // check that given VecAbstractLocalizedString collection is not null.
    if (descriptions == null) {
      failWithMessage("Expecting descriptions 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.getDescriptions(), descriptions.toArray());

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

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

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

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

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

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

    // check that given VecAbstractLocalizedString collection is not null.
    if (descriptions == null) {
      failWithMessage("Expecting descriptions 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.getDescriptions(), descriptions.toArray());

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

  /**
   * Verifies that the actual VecHousingComponent has no descriptions.
   * @return this assertion object.
   * @throws AssertionError if the actual VecHousingComponent's descriptions is not empty.
   */
  public S hasNoDescriptions() {
    // check that actual VecHousingComponent 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 descriptions but had :\n  <%s>";

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

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


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

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

    // null safe check
    VecConnectorHousingSpecification actualHousingSpecification = actual.getHousingSpecification();
    if (!Objects.areEqual(actualHousingSpecification, housingSpecification)) {
      failWithMessage(assertjErrorMessage, actual, housingSpecification, actualHousingSpecification);
    }

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

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

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

    // null safe check
    String actualIdentification = actual.getIdentification();
    if (!Objects.areEqual(actualIdentification, identification)) {
      failWithMessage(assertjErrorMessage, actual, identification, actualIdentification);
    }

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

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

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

    // null safe check
    VecEEComponentSpecification actualParentEEComponentSpecification = actual.getParentEEComponentSpecification();
    if (!Objects.areEqual(actualParentEEComponentSpecification, parentEEComponentSpecification)) {
      failWithMessage(assertjErrorMessage, actual, parentEEComponentSpecification, actualParentEEComponentSpecification);
    }

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

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

    // check that given VecPinComponent varargs is not null.
    if (pinComponents == null) failWithMessage("Expecting pinComponents 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.getPinComponents(), pinComponents);

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

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

    // check that given VecPinComponent collection is not null.
    if (pinComponents == null) {
      failWithMessage("Expecting pinComponents 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.getPinComponents(), pinComponents.toArray());

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

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

    // check that given VecPinComponent varargs is not null.
    if (pinComponents == null) failWithMessage("Expecting pinComponents 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.getPinComponents(), pinComponents);

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

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

    // check that given VecPinComponent collection is not null.
    if (pinComponents == null) {
      failWithMessage("Expecting pinComponents 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.getPinComponents(), pinComponents.toArray());

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

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

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

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

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

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

    // check that given VecPinComponent collection is not null.
    if (pinComponents == null) {
      failWithMessage("Expecting pinComponents 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.getPinComponents(), pinComponents.toArray());

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

  /**
   * Verifies that the actual VecHousingComponent has no pinComponents.
   * @return this assertion object.
   * @throws AssertionError if the actual VecHousingComponent's pinComponents is not empty.
   */
  public S hasNoPinComponents() {
    // check that actual VecHousingComponent 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 pinComponents but had :\n  <%s>";

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

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


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

    // check that given VecHousingComponentReference varargs is not null.
    if (refHousingComponentReference == null) failWithMessage("Expecting refHousingComponentReference 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.getRefHousingComponentReference(), refHousingComponentReference);

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

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

    // check that given VecHousingComponentReference collection is not null.
    if (refHousingComponentReference == null) {
      failWithMessage("Expecting refHousingComponentReference 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.getRefHousingComponentReference(), refHousingComponentReference.toArray());

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

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

    // check that given VecHousingComponentReference varargs is not null.
    if (refHousingComponentReference == null) failWithMessage("Expecting refHousingComponentReference 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.getRefHousingComponentReference(), refHousingComponentReference);

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

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

    // check that given VecHousingComponentReference collection is not null.
    if (refHousingComponentReference == null) {
      failWithMessage("Expecting refHousingComponentReference 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.getRefHousingComponentReference(), refHousingComponentReference.toArray());

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

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

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

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

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

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

    // check that given VecHousingComponentReference collection is not null.
    if (refHousingComponentReference == null) {
      failWithMessage("Expecting refHousingComponentReference 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.getRefHousingComponentReference(), refHousingComponentReference.toArray());

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

  /**
   * Verifies that the actual VecHousingComponent has no refHousingComponentReference.
   * @return this assertion object.
   * @throws AssertionError if the actual VecHousingComponent's refHousingComponentReference is not empty.
   */
  public S hasNoRefHousingComponentReference() {
    // check that actual VecHousingComponent 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 refHousingComponentReference but had :\n  <%s>";

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

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


}