public abstract class AbstractDeploymentAssert<S extends AbstractDeploymentAssert<S,A>,A extends io.fabric8.kubernetes.api.model.extensions.Deployment>
extends org.assertj.core.api.AbstractAssert<S,A>
Deployment
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractDeploymentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual Deployment. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual Deployment's additionalProperties is equal to the given one.
|
S |
hasApiVersion(io.fabric8.kubernetes.api.model.extensions.Deployment.ApiVersion apiVersion)
Verifies that the actual Deployment's apiVersion is equal to the given one.
|
S |
hasKind(String kind)
Verifies that the actual Deployment's kind is equal to the given one.
|
S |
hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
Verifies that the actual Deployment's metadata is equal to the given one.
|
S |
hasSpec(io.fabric8.kubernetes.api.model.extensions.DeploymentSpec spec)
Verifies that the actual Deployment's spec is equal to the given one.
|
S |
hasStatus(io.fabric8.kubernetes.api.model.extensions.DeploymentStatus status)
Verifies that the actual Deployment's status 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, usingDefaultComparator
protected AbstractDeploymentAssert(A actual, Class<S> selfType)
AbstractDeploymentAssert
to make assertions on actual Deployment.actual
- the Deployment we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual Deployment's additionalProperties to.AssertionError
- - if the actual Deployment's additionalProperties is not equal to the given one.public S hasApiVersion(io.fabric8.kubernetes.api.model.extensions.Deployment.ApiVersion apiVersion)
apiVersion
- the given apiVersion to compare the actual Deployment's apiVersion to.AssertionError
- - if the actual Deployment's apiVersion is not equal to the given one.public S hasKind(String kind)
kind
- the given kind to compare the actual Deployment's kind to.AssertionError
- - if the actual Deployment's kind is not equal to the given one.public S hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
metadata
- the given metadata to compare the actual Deployment's metadata to.AssertionError
- - if the actual Deployment's metadata is not equal to the given one.public S hasSpec(io.fabric8.kubernetes.api.model.extensions.DeploymentSpec spec)
spec
- the given spec to compare the actual Deployment's spec to.AssertionError
- - if the actual Deployment's spec is not equal to the given one.public S hasStatus(io.fabric8.kubernetes.api.model.extensions.DeploymentStatus status)
status
- the given status to compare the actual Deployment's status to.AssertionError
- - if the actual Deployment's status is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.