public abstract class AbstractHorizontalPodAutoscalerStatusAssert<S extends AbstractHorizontalPodAutoscalerStatusAssert<S,A>,A extends io.fabric8.kubernetes.api.model.HorizontalPodAutoscalerStatus>
extends org.assertj.core.api.AbstractAssert<S,A>
HorizontalPodAutoscalerStatus
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractHorizontalPodAutoscalerStatusAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual HorizontalPodAutoscalerStatus. |
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 |
hasCurrentCPUUtilizationPercentage(Integer currentCPUUtilizationPercentage)
Verifies that the actual HorizontalPodAutoscalerStatus's currentCPUUtilizationPercentage is equal to the given one.
|
S |
hasCurrentReplicas(Integer currentReplicas)
Verifies that the actual HorizontalPodAutoscalerStatus's currentReplicas is equal to the given one.
|
S |
hasDesiredReplicas(Integer desiredReplicas)
Verifies that the actual HorizontalPodAutoscalerStatus's desiredReplicas is equal to the given one.
|
S |
hasObservedGeneration(Long observedGeneration)
Verifies that the actual HorizontalPodAutoscalerStatus's observedGeneration is equal to the given one.
|
org.assertj.core.api.StringAssert |
lastScaleTime()
Navigates to the property lastScaleTime 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, withThreadDumpOnError
protected AbstractHorizontalPodAutoscalerStatusAssert(A actual, Class<S> selfType)
AbstractHorizontalPodAutoscalerStatusAssert
to make assertions on actual HorizontalPodAutoscalerStatus.actual
- the HorizontalPodAutoscalerStatus we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public S hasCurrentCPUUtilizationPercentage(Integer currentCPUUtilizationPercentage)
currentCPUUtilizationPercentage
- the given currentCPUUtilizationPercentage to compare the actual HorizontalPodAutoscalerStatus's currentCPUUtilizationPercentage to.AssertionError
- - if the actual HorizontalPodAutoscalerStatus's currentCPUUtilizationPercentage is not equal to the given one.public S hasCurrentReplicas(Integer currentReplicas)
currentReplicas
- the given currentReplicas to compare the actual HorizontalPodAutoscalerStatus's currentReplicas to.AssertionError
- - if the actual HorizontalPodAutoscalerStatus's currentReplicas is not equal to the given one.public S hasDesiredReplicas(Integer desiredReplicas)
desiredReplicas
- the given desiredReplicas to compare the actual HorizontalPodAutoscalerStatus's desiredReplicas to.AssertionError
- - if the actual HorizontalPodAutoscalerStatus's desiredReplicas is not equal to the given one.public org.assertj.core.api.StringAssert lastScaleTime()
public S hasObservedGeneration(Long observedGeneration)
observedGeneration
- the given observedGeneration to compare the actual HorizontalPodAutoscalerStatus's observedGeneration to.AssertionError
- - if the actual HorizontalPodAutoscalerStatus's observedGeneration is not equal to the given one.Copyright © 2011–2017 Red Hat. All rights reserved.