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

com.foursoft.vecmodel.vec120.AbstractVecSlotAssert 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 VecSlot} specific assertions - Generated by CustomAssertionGenerator.
 */
@javax.annotation.Generated(value="assertj-assertions-generator")
public abstract class AbstractVecSlotAssert, A extends VecSlot> extends AbstractVecAbstractSlotAssert {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

    // null safe check
    String actualSealingType = actual.getSealingType();
    if (!Objects.areEqual(actualSealingType, sealingType)) {
      failWithMessage(assertjErrorMessage, actual, sealingType, actualSealingType);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


}