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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

    // null safe check
    String actualConnectionGroupType = actual.getConnectionGroupType();
    if (!Objects.areEqual(actualConnectionGroupType, connectionGroupType)) {
      failWithMessage(assertjErrorMessage, actual, connectionGroupType, actualConnectionGroupType);
    }

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

  /**
   * Verifies that the actual VecConnectionGroup's descriptions contains the given VecAbstractLocalizedString elements.
   * @param descriptions the given elements that should be contained in actual VecConnectionGroup's descriptions.
   * @return this assertion object.
   * @throws AssertionError if the actual VecConnectionGroup's descriptions does not contain all given VecAbstractLocalizedString elements.
   */
  public S hasDescriptions(VecAbstractLocalizedString... descriptions) {
    // check that actual VecConnectionGroup 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 VecConnectionGroup's descriptions contains the given VecAbstractLocalizedString elements in Collection.
   * @param descriptions the given elements that should be contained in actual VecConnectionGroup's descriptions.
   * @return this assertion object.
   * @throws AssertionError if the actual VecConnectionGroup's descriptions does not contain all given VecAbstractLocalizedString elements.
   */
  public S hasDescriptions(java.util.Collection descriptions) {
    // check that actual VecConnectionGroup 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 VecConnectionGroup'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 VecConnectionGroup's descriptions.
   * @return this assertion object.
   * @throws AssertionError if the actual VecConnectionGroup's descriptions does not contain all given VecAbstractLocalizedString elements.
   */
  public S hasOnlyDescriptions(VecAbstractLocalizedString... descriptions) {
    // check that actual VecConnectionGroup 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 VecConnectionGroup'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 VecConnectionGroup's descriptions.
   * @return this assertion object.
   * @throws AssertionError if the actual VecConnectionGroup's descriptions does not contain all given VecAbstractLocalizedString elements.
   */
  public S hasOnlyDescriptions(java.util.Collection descriptions) {
    // check that actual VecConnectionGroup 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 VecConnectionGroup's descriptions does not contain the given VecAbstractLocalizedString elements.
   *
   * @param descriptions the given elements that should not be in actual VecConnectionGroup's descriptions.
   * @return this assertion object.
   * @throws AssertionError if the actual VecConnectionGroup's descriptions contains any given VecAbstractLocalizedString elements.
   */
  public S doesNotHaveDescriptions(VecAbstractLocalizedString... descriptions) {
    // check that actual VecConnectionGroup 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 VecConnectionGroup's descriptions does not contain the given VecAbstractLocalizedString elements in Collection.
   *
   * @param descriptions the given elements that should not be in actual VecConnectionGroup's descriptions.
   * @return this assertion object.
   * @throws AssertionError if the actual VecConnectionGroup's descriptions contains any given VecAbstractLocalizedString elements.
   */
  public S doesNotHaveDescriptions(java.util.Collection descriptions) {
    // check that actual VecConnectionGroup 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 VecConnectionGroup has no descriptions.
   * @return this assertion object.
   * @throws AssertionError if the actual VecConnectionGroup's descriptions is not empty.
   */
  public S hasNoDescriptions() {
    // check that actual VecConnectionGroup 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 VecConnectionGroup's identification is equal to the given one.
   * @param identification the given identification to compare the actual VecConnectionGroup's identification to.
   * @return this assertion object.
   * @throws AssertionError - if the actual VecConnectionGroup's identification is not equal to the given one.
   */
  public S hasIdentification(String identification) {
    // check that actual VecConnectionGroup 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 VecConnectionGroup's installationInstructions contains the given VecInstruction elements.
   * @param installationInstructions the given elements that should be contained in actual VecConnectionGroup's installationInstructions.
   * @return this assertion object.
   * @throws AssertionError if the actual VecConnectionGroup's installationInstructions does not contain all given VecInstruction elements.
   */
  public S hasInstallationInstructions(VecInstruction... installationInstructions) {
    // check that actual VecConnectionGroup we want to make assertions on is not null.
    isNotNull();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

    // null safe check
    VecConnectionGroup actualParentConnectionGroup = actual.getParentConnectionGroup();
    if (!Objects.areEqual(actualParentConnectionGroup, parentConnectionGroup)) {
      failWithMessage(assertjErrorMessage, actual, parentConnectionGroup, actualParentConnectionGroup);
    }

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

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

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

    // null safe check
    VecConnectionSpecification actualParentConnectionSpecification = actual.getParentConnectionSpecification();
    if (!Objects.areEqual(actualParentConnectionSpecification, parentConnectionSpecification)) {
      failWithMessage(assertjErrorMessage, actual, parentConnectionSpecification, actualParentConnectionSpecification);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


}