public abstract class AbstractStatefulSetStatusAssert<S extends AbstractStatefulSetStatusAssert<S,A>,A extends io.fabric8.kubernetes.api.model.extensions.StatefulSetStatus>
extends org.assertj.core.api.AbstractAssert<S,A>
StatefulSetStatus specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractStatefulSetStatusAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual StatefulSetStatus. |
| 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
|
org.assertj.core.api.StringAssert |
currentRevision()
Navigates to the property currentRevision so that assertions can be done on it
|
S |
hasCurrentReplicas(Integer currentReplicas)
Verifies that the actual StatefulSetStatus's currentReplicas is equal to the given one.
|
S |
hasObservedGeneration(Long observedGeneration)
Verifies that the actual StatefulSetStatus's observedGeneration is equal to the given one.
|
S |
hasReadyReplicas(Integer readyReplicas)
Verifies that the actual StatefulSetStatus's readyReplicas is equal to the given one.
|
S |
hasReplicas(Integer replicas)
Verifies that the actual StatefulSetStatus's replicas is equal to the given one.
|
S |
hasUpdatedReplicas(Integer updatedReplicas)
Verifies that the actual StatefulSetStatus's updatedReplicas is equal to the given one.
|
org.assertj.core.api.StringAssert |
updateRevision()
Navigates to the property updateRevision so that assertions can be done on it
|
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, withThreadDumpOnErrorprotected AbstractStatefulSetStatusAssert(A actual, Class<S> selfType)
AbstractStatefulSetStatusAssert to make assertions on actual StatefulSetStatus.actual - the StatefulSetStatus we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public S hasCurrentReplicas(Integer currentReplicas)
currentReplicas - the given currentReplicas to compare the actual StatefulSetStatus's currentReplicas to.AssertionError - - if the actual StatefulSetStatus's currentReplicas is not equal to the given one.public org.assertj.core.api.StringAssert currentRevision()
public S hasObservedGeneration(Long observedGeneration)
observedGeneration - the given observedGeneration to compare the actual StatefulSetStatus's observedGeneration to.AssertionError - - if the actual StatefulSetStatus's observedGeneration is not equal to the given one.public S hasReadyReplicas(Integer readyReplicas)
readyReplicas - the given readyReplicas to compare the actual StatefulSetStatus's readyReplicas to.AssertionError - - if the actual StatefulSetStatus's readyReplicas is not equal to the given one.public S hasReplicas(Integer replicas)
replicas - the given replicas to compare the actual StatefulSetStatus's replicas to.AssertionError - - if the actual StatefulSetStatus's replicas is not equal to the given one.public org.assertj.core.api.StringAssert updateRevision()
public S hasUpdatedReplicas(Integer updatedReplicas)
updatedReplicas - the given updatedReplicas to compare the actual StatefulSetStatus's updatedReplicas to.AssertionError - - if the actual StatefulSetStatus's updatedReplicas is not equal to the given one.Copyright © 2011–2017 Red Hat. All rights reserved.