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