public abstract class AbstractPodDisruptionBudgetStatusAssert<S extends AbstractPodDisruptionBudgetStatusAssert<S,A>,A extends io.fabric8.kubernetes.api.model.policy.PodDisruptionBudgetStatus>
extends org.assertj.core.api.AbstractAssert<S,A>
PodDisruptionBudgetStatus
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractPodDisruptionBudgetStatusAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual PodDisruptionBudgetStatus. |
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.MapAssert |
disruptedPods()
Navigates to the property disruptedPods so that assertions can be done on it
|
S |
hasCurrentHealthy(Integer currentHealthy)
Verifies that the actual PodDisruptionBudgetStatus's currentHealthy is equal to the given one.
|
S |
hasDesiredHealthy(Integer desiredHealthy)
Verifies that the actual PodDisruptionBudgetStatus's desiredHealthy is equal to the given one.
|
S |
hasDisruptionsAllowed(Integer disruptionsAllowed)
Verifies that the actual PodDisruptionBudgetStatus's disruptionsAllowed is equal to the given one.
|
S |
hasExpectedPods(Integer expectedPods)
Verifies that the actual PodDisruptionBudgetStatus's expectedPods is equal to the given one.
|
S |
hasObservedGeneration(Long observedGeneration)
Verifies that the actual PodDisruptionBudgetStatus's observedGeneration is equal to the given one.
|
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withRepresentation, withThreadDumpOnError
protected AbstractPodDisruptionBudgetStatusAssert(A actual, Class<S> selfType)
AbstractPodDisruptionBudgetStatusAssert
to make assertions on actual PodDisruptionBudgetStatus.actual
- the PodDisruptionBudgetStatus we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public S hasCurrentHealthy(Integer currentHealthy)
currentHealthy
- the given currentHealthy to compare the actual PodDisruptionBudgetStatus's currentHealthy to.AssertionError
- - if the actual PodDisruptionBudgetStatus's currentHealthy is not equal to the given one.public S hasDesiredHealthy(Integer desiredHealthy)
desiredHealthy
- the given desiredHealthy to compare the actual PodDisruptionBudgetStatus's desiredHealthy to.AssertionError
- - if the actual PodDisruptionBudgetStatus's desiredHealthy is not equal to the given one.public org.assertj.core.api.MapAssert disruptedPods()
public S hasDisruptionsAllowed(Integer disruptionsAllowed)
disruptionsAllowed
- the given disruptionsAllowed to compare the actual PodDisruptionBudgetStatus's disruptionsAllowed to.AssertionError
- - if the actual PodDisruptionBudgetStatus's disruptionsAllowed is not equal to the given one.public S hasExpectedPods(Integer expectedPods)
expectedPods
- the given expectedPods to compare the actual PodDisruptionBudgetStatus's expectedPods to.AssertionError
- - if the actual PodDisruptionBudgetStatus's expectedPods is not equal to the given one.public S hasObservedGeneration(Long observedGeneration)
observedGeneration
- the given observedGeneration to compare the actual PodDisruptionBudgetStatus's observedGeneration to.AssertionError
- - if the actual PodDisruptionBudgetStatus's observedGeneration is not equal to the given one.Copyright © 2020. All rights reserved.