public abstract class AbstractDeploymentConfigSpecAssert<S extends AbstractDeploymentConfigSpecAssert<S,A>,A extends io.fabric8.openshift.api.model.DeploymentConfigSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
DeploymentConfigSpec
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractDeploymentConfigSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual DeploymentConfigSpec. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual DeploymentConfigSpec's additionalProperties is equal to the given one.
|
S |
hasNoTriggers()
Verifies that the actual DeploymentConfigSpec has no triggers.
|
S |
hasReplicas(Integer replicas)
Verifies that the actual DeploymentConfigSpec's replicas is equal to the given one.
|
S |
hasSelector(Map selector)
Verifies that the actual DeploymentConfigSpec's selector is equal to the given one.
|
S |
hasStrategy(io.fabric8.openshift.api.model.DeploymentStrategy strategy)
Verifies that the actual DeploymentConfigSpec's strategy is equal to the given one.
|
S |
hasTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template)
Verifies that the actual DeploymentConfigSpec's template is equal to the given one.
|
S |
hasTriggers(io.fabric8.openshift.api.model.DeploymentTriggerPolicy... triggers)
Verifies that the actual DeploymentConfigSpec's triggers contains the given DeploymentTriggerPolicy 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 AbstractDeploymentConfigSpecAssert(A actual, Class<S> selfType)
AbstractDeploymentConfigSpecAssert
to make assertions on actual DeploymentConfigSpec.actual
- the DeploymentConfigSpec we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual DeploymentConfigSpec's additionalProperties to.AssertionError
- - if the actual DeploymentConfigSpec's additionalProperties is not equal to the given one.public S hasReplicas(Integer replicas)
replicas
- the given replicas to compare the actual DeploymentConfigSpec's replicas to.AssertionError
- - if the actual DeploymentConfigSpec's replicas is not equal to the given one.public S hasSelector(Map selector)
selector
- the given selector to compare the actual DeploymentConfigSpec's selector to.AssertionError
- - if the actual DeploymentConfigSpec's selector is not equal to the given one.public S hasStrategy(io.fabric8.openshift.api.model.DeploymentStrategy strategy)
strategy
- the given strategy to compare the actual DeploymentConfigSpec's strategy to.AssertionError
- - if the actual DeploymentConfigSpec'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 DeploymentConfigSpec's template to.AssertionError
- - if the actual DeploymentConfigSpec's template is not equal to the given one.public S hasTriggers(io.fabric8.openshift.api.model.DeploymentTriggerPolicy... triggers)
triggers
- the given elements that should be contained in actual DeploymentConfigSpec's triggers.AssertionError
- if the actual DeploymentConfigSpec's triggers does not contain all given DeploymentTriggerPolicy elements.public S hasNoTriggers()
AssertionError
- if the actual DeploymentConfigSpec's triggers is not empty.Copyright © 2011–2015 Red Hat. All rights reserved.