public abstract class AbstractContainerPortFluentAssert<S extends AbstractContainerPortFluentAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ContainerPortFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
ContainerPortFluent specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractContainerPortFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ContainerPortFluent. |
| Modifier and Type | Method and Description |
|---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ContainerPortFluent's additionalProperties is equal to the given one.
|
S |
hasContainerPort(Integer containerPort)
Verifies that the actual ContainerPortFluent's containerPort is equal to the given one.
|
S |
hasHostIP(String hostIP)
Verifies that the actual ContainerPortFluent's hostIP is equal to the given one.
|
S |
hasHostPort(Integer hostPort)
Verifies that the actual ContainerPortFluent's hostPort is equal to the given one.
|
S |
hasName(String name)
Verifies that the actual ContainerPortFluent's name is equal to the given one.
|
S |
hasProtocol(String protocol)
Verifies that the actual ContainerPortFluent's protocol is equal to the given one.
|
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparatorprotected AbstractContainerPortFluentAssert(A actual, Class<S> selfType)
AbstractContainerPortFluentAssert to make assertions on actual ContainerPortFluent.actual - the ContainerPortFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties - the given additionalProperties to compare the actual ContainerPortFluent's additionalProperties to.AssertionError - - if the actual ContainerPortFluent's additionalProperties is not equal to the given one.public S hasContainerPort(Integer containerPort)
containerPort - the given containerPort to compare the actual ContainerPortFluent's containerPort to.AssertionError - - if the actual ContainerPortFluent's containerPort is not equal to the given one.public S hasHostIP(String hostIP)
hostIP - the given hostIP to compare the actual ContainerPortFluent's hostIP to.AssertionError - - if the actual ContainerPortFluent's hostIP is not equal to the given one.public S hasHostPort(Integer hostPort)
hostPort - the given hostPort to compare the actual ContainerPortFluent's hostPort to.AssertionError - - if the actual ContainerPortFluent's hostPort is not equal to the given one.public S hasName(String name)
name - the given name to compare the actual ContainerPortFluent's name to.AssertionError - - if the actual ContainerPortFluent's name is not equal to the given one.public S hasProtocol(String protocol)
protocol - the given protocol to compare the actual ContainerPortFluent's protocol to.AssertionError - - if the actual ContainerPortFluent's protocol is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.