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