public abstract class AbstractContainerManifestFluentAssert<S extends AbstractContainerManifestFluentAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ContainerManifestFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
ContainerManifestFluent
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractContainerManifestFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ContainerManifestFluent. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ContainerManifestFluent's additionalProperties is equal to the given one.
|
S |
hasContainers(io.fabric8.kubernetes.api.model.Container... containers)
Verifies that the actual ContainerManifestFluent's containers contains the given Container elements.
|
S |
hasDnsPolicy(String dnsPolicy)
Verifies that the actual ContainerManifestFluent's dnsPolicy is equal to the given one.
|
S |
hasId(String id)
Verifies that the actual ContainerManifestFluent's id is equal to the given one.
|
S |
hasNoContainers()
Verifies that the actual ContainerManifestFluent has no containers.
|
S |
hasNoVolumes()
Verifies that the actual ContainerManifestFluent has no volumes.
|
S |
hasRestartPolicy(io.fabric8.kubernetes.api.model.RestartPolicy restartPolicy)
Verifies that the actual ContainerManifestFluent's restartPolicy is equal to the given one.
|
S |
hasUuid(String uuid)
Verifies that the actual ContainerManifestFluent's uuid is equal to the given one.
|
S |
hasVersion(String version)
Verifies that the actual ContainerManifestFluent's version is equal to the given one.
|
S |
hasVolumes(io.fabric8.kubernetes.api.model.Volume... volumes)
Verifies that the actual ContainerManifestFluent's volumes contains the given Volume elements.
|
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, usingDefaultComparator
protected AbstractContainerManifestFluentAssert(A actual, Class<S> selfType)
AbstractContainerManifestFluentAssert
to make assertions on actual ContainerManifestFluent.actual
- the ContainerManifestFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ContainerManifestFluent's additionalProperties to.AssertionError
- - if the actual ContainerManifestFluent's additionalProperties is not equal to the given one.public S hasContainers(io.fabric8.kubernetes.api.model.Container... containers)
containers
- the given elements that should be contained in actual ContainerManifestFluent's containers.AssertionError
- if the actual ContainerManifestFluent's containers does not contain all given Container elements.public S hasNoContainers()
AssertionError
- if the actual ContainerManifestFluent's containers is not empty.public S hasDnsPolicy(String dnsPolicy)
dnsPolicy
- the given dnsPolicy to compare the actual ContainerManifestFluent's dnsPolicy to.AssertionError
- - if the actual ContainerManifestFluent's dnsPolicy is not equal to the given one.public S hasId(String id)
id
- the given id to compare the actual ContainerManifestFluent's id to.AssertionError
- - if the actual ContainerManifestFluent's id is not equal to the given one.public S hasRestartPolicy(io.fabric8.kubernetes.api.model.RestartPolicy restartPolicy)
restartPolicy
- the given restartPolicy to compare the actual ContainerManifestFluent's restartPolicy to.AssertionError
- - if the actual ContainerManifestFluent's restartPolicy is not equal to the given one.public S hasUuid(String uuid)
uuid
- the given uuid to compare the actual ContainerManifestFluent's uuid to.AssertionError
- - if the actual ContainerManifestFluent's uuid is not equal to the given one.public S hasVersion(String version)
version
- the given version to compare the actual ContainerManifestFluent's version to.AssertionError
- - if the actual ContainerManifestFluent's version is not equal to the given one.public S hasVolumes(io.fabric8.kubernetes.api.model.Volume... volumes)
volumes
- the given elements that should be contained in actual ContainerManifestFluent's volumes.AssertionError
- if the actual ContainerManifestFluent's volumes does not contain all given Volume elements.public S hasNoVolumes()
AssertionError
- if the actual ContainerManifestFluent's volumes is not empty.Copyright © 2011–2015 Red Hat. All rights reserved.