public abstract class AbstractHorizontalPodAutoscalerSpecAssert<S extends AbstractHorizontalPodAutoscalerSpecAssert<S,A>,A extends io.fabric8.kubernetes.api.model.extensions.HorizontalPodAutoscalerSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
HorizontalPodAutoscalerSpec
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractHorizontalPodAutoscalerSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual HorizontalPodAutoscalerSpec. |
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
|
CPUTargetUtilizationAssert |
cpuUtilization()
Navigates to the property cpuUtilization so that assertions can be done on it
|
S |
hasMaxReplicas(Integer maxReplicas)
Verifies that the actual HorizontalPodAutoscalerSpec's maxReplicas is equal to the given one.
|
S |
hasMinReplicas(Integer minReplicas)
Verifies that the actual HorizontalPodAutoscalerSpec's minReplicas is equal to the given one.
|
SubresourceReferenceAssert |
scaleRef()
Navigates to the property scaleRef 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 AbstractHorizontalPodAutoscalerSpecAssert(A actual, Class<S> selfType)
AbstractHorizontalPodAutoscalerSpecAssert
to make assertions on actual HorizontalPodAutoscalerSpec.actual
- the HorizontalPodAutoscalerSpec we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public CPUTargetUtilizationAssert cpuUtilization()
public S hasMaxReplicas(Integer maxReplicas)
maxReplicas
- the given maxReplicas to compare the actual HorizontalPodAutoscalerSpec's maxReplicas to.AssertionError
- - if the actual HorizontalPodAutoscalerSpec's maxReplicas is not equal to the given one.public S hasMinReplicas(Integer minReplicas)
minReplicas
- the given minReplicas to compare the actual HorizontalPodAutoscalerSpec's minReplicas to.AssertionError
- - if the actual HorizontalPodAutoscalerSpec's minReplicas is not equal to the given one.public SubresourceReferenceAssert scaleRef()
Copyright © 2011–2016 Red Hat. All rights reserved.