public abstract class AbstractDeploymentSpecAssert<S extends AbstractDeploymentSpecAssert<S,A>,A extends io.fabric8.kubernetes.api.model.extensions.DeploymentSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
DeploymentSpec
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractDeploymentSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual DeploymentSpec. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual DeploymentSpec's additionalProperties is equal to the given one.
|
S |
hasReplicas(Integer replicas)
Verifies that the actual DeploymentSpec's replicas is equal to the given one.
|
S |
hasSelector(Map selector)
Verifies that the actual DeploymentSpec's selector is equal to the given one.
|
S |
hasStrategy(io.fabric8.kubernetes.api.model.extensions.DeploymentStrategy strategy)
Verifies that the actual DeploymentSpec's strategy is equal to the given one.
|
S |
hasTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template)
Verifies that the actual DeploymentSpec's template is equal to the given one.
|
S |
hasUniqueLabelKey(String uniqueLabelKey)
Verifies that the actual DeploymentSpec's uniqueLabelKey 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 AbstractDeploymentSpecAssert(A actual, Class<S> selfType)
AbstractDeploymentSpecAssert
to make assertions on actual DeploymentSpec.actual
- the DeploymentSpec we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual DeploymentSpec's additionalProperties to.AssertionError
- - if the actual DeploymentSpec's additionalProperties is not equal to the given one.public S hasReplicas(Integer replicas)
replicas
- the given replicas to compare the actual DeploymentSpec's replicas to.AssertionError
- - if the actual DeploymentSpec's replicas is not equal to the given one.public S hasSelector(Map selector)
selector
- the given selector to compare the actual DeploymentSpec's selector to.AssertionError
- - if the actual DeploymentSpec's selector is not equal to the given one.public S hasStrategy(io.fabric8.kubernetes.api.model.extensions.DeploymentStrategy strategy)
strategy
- the given strategy to compare the actual DeploymentSpec's strategy to.AssertionError
- - if the actual DeploymentSpec's strategy is not equal to the given one.public S hasTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template)
template
- the given template to compare the actual DeploymentSpec's template to.AssertionError
- - if the actual DeploymentSpec's template is not equal to the given one.public S hasUniqueLabelKey(String uniqueLabelKey)
uniqueLabelKey
- the given uniqueLabelKey to compare the actual DeploymentSpec's uniqueLabelKey to.AssertionError
- - if the actual DeploymentSpec's uniqueLabelKey is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.