public abstract class AbstractContainerPortAssert<S extends AbstractContainerPortAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ContainerPort>
extends org.assertj.core.api.AbstractAssert<S,A>
ContainerPort
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractContainerPortAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ContainerPort. |
Modifier and Type | Method and Description |
---|---|
org.assertj.core.api.MapAssert |
additionalProperties()
Navigates to the property additionalProperties so that assertions can be done on it
|
S |
hasContainerPort(Integer containerPort)
Verifies that the actual ContainerPort's containerPort is equal to the given one.
|
S |
hasHostPort(Integer hostPort)
Verifies that the actual ContainerPort's hostPort is equal to the given one.
|
org.assertj.core.api.StringAssert |
hostIP()
Navigates to the property hostIP so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
name()
Navigates to the property name so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
protocol()
Navigates to the property protocol so that assertions can be done on it
|
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withRepresentation, withThreadDumpOnError
protected AbstractContainerPortAssert(A actual, Class<S> selfType)
AbstractContainerPortAssert
to make assertions on actual ContainerPort.actual
- the ContainerPort we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public S hasContainerPort(Integer containerPort)
containerPort
- the given containerPort to compare the actual ContainerPort's containerPort to.AssertionError
- - if the actual ContainerPort's containerPort is not equal to the given one.public org.assertj.core.api.StringAssert hostIP()
public S hasHostPort(Integer hostPort)
hostPort
- the given hostPort to compare the actual ContainerPort's hostPort to.AssertionError
- - if the actual ContainerPort's hostPort is not equal to the given one.public org.assertj.core.api.StringAssert name()
public org.assertj.core.api.StringAssert protocol()
Copyright © 2020. All rights reserved.