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

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

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

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

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

    // null safe check
    String actualApplianceType = actual.getApplianceType();
    if (!Objects.areEqual(actualApplianceType, applianceType)) {
      failWithMessage(assertjErrorMessage, actual, applianceType, actualApplianceType);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

    // null safe check
    VecPinComponent actualParentPinComponent = actual.getParentPinComponent();
    if (!Objects.areEqual(actualParentPinComponent, parentPinComponent)) {
      failWithMessage(assertjErrorMessage, actual, parentPinComponent, actualParentPinComponent);
    }

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

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

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

    // null safe check
    String actualPinType = actual.getPinType();
    if (!Objects.areEqual(actualPinType, pinType)) {
      failWithMessage(assertjErrorMessage, actual, pinType, actualPinType);
    }

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

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

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

    // null safe check
    VecSignal actualSignal = actual.getSignal();
    if (!Objects.areEqual(actualSignal, signal)) {
      failWithMessage(assertjErrorMessage, actual, signal, actualSignal);
    }

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

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

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

    // null safe check
    VecSignalDirection actualSignalDirection = actual.getSignalDirection();
    if (!Objects.areEqual(actualSignalDirection, signalDirection)) {
      failWithMessage(assertjErrorMessage, actual, signalDirection, actualSignalDirection);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


}