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