public abstract class AbstractDeploymentStatusAssert<S extends AbstractDeploymentStatusAssert<S,A>,A extends io.fabric8.kubernetes.api.model.extensions.DeploymentStatus>
extends org.assertj.core.api.AbstractAssert<S,A>
DeploymentStatus
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractDeploymentStatusAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual DeploymentStatus. |
Modifier and Type | Method and Description |
---|---|
org.assertj.core.api.MapAssert |
additionalProperties()
Navigates to the property additionalProperties so that assertions can be done on it
|
S |
hasAvailableReplicas(Integer availableReplicas)
Verifies that the actual DeploymentStatus's availableReplicas is equal to the given one.
|
S |
hasObservedGeneration(Long observedGeneration)
Verifies that the actual DeploymentStatus's observedGeneration is equal to the given one.
|
S |
hasReplicas(Integer replicas)
Verifies that the actual DeploymentStatus's replicas is equal to the given one.
|
S |
hasUnavailableReplicas(Integer unavailableReplicas)
Verifies that the actual DeploymentStatus's unavailableReplicas is equal to the given one.
|
S |
hasUpdatedReplicas(Integer updatedReplicas)
Verifies that the actual DeploymentStatus's updatedReplicas is equal to the given one.
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, 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, withFailMessage, withThreadDumpOnError
protected AbstractDeploymentStatusAssert(A actual, Class<S> selfType)
AbstractDeploymentStatusAssert
to make assertions on actual DeploymentStatus.actual
- the DeploymentStatus we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public S hasAvailableReplicas(Integer availableReplicas)
availableReplicas
- the given availableReplicas to compare the actual DeploymentStatus's availableReplicas to.AssertionError
- - if the actual DeploymentStatus's availableReplicas is not equal to the given one.public S hasObservedGeneration(Long observedGeneration)
observedGeneration
- the given observedGeneration to compare the actual DeploymentStatus's observedGeneration to.AssertionError
- - if the actual DeploymentStatus's observedGeneration is not equal to the given one.public S hasReplicas(Integer replicas)
replicas
- the given replicas to compare the actual DeploymentStatus's replicas to.AssertionError
- - if the actual DeploymentStatus's replicas is not equal to the given one.public S hasUnavailableReplicas(Integer unavailableReplicas)
unavailableReplicas
- the given unavailableReplicas to compare the actual DeploymentStatus's unavailableReplicas to.AssertionError
- - if the actual DeploymentStatus's unavailableReplicas is not equal to the given one.public S hasUpdatedReplicas(Integer updatedReplicas)
updatedReplicas
- the given updatedReplicas to compare the actual DeploymentStatus's updatedReplicas to.AssertionError
- - if the actual DeploymentStatus's updatedReplicas is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.