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 |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual HorizontalPodAutoscalerSpec's additionalProperties is equal to the given one.
|
S |
hasCpuUtilization(io.fabric8.kubernetes.api.model.extensions.CPUTargetUtilization cpuUtilization)
Verifies that the actual HorizontalPodAutoscalerSpec's cpuUtilization is equal to the given one.
|
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.
|
S |
hasScaleRef(io.fabric8.kubernetes.api.model.extensions.SubresourceReference scaleRef)
Verifies that the actual HorizontalPodAutoscalerSpec's scaleRef is equal to the given one.
|
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, 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
protected AbstractHorizontalPodAutoscalerSpecAssert(A actual, Class<S> selfType)
AbstractHorizontalPodAutoscalerSpecAssert
to make assertions on actual HorizontalPodAutoscalerSpec.actual
- the HorizontalPodAutoscalerSpec we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual HorizontalPodAutoscalerSpec's additionalProperties to.AssertionError
- - if the actual HorizontalPodAutoscalerSpec's additionalProperties is not equal to the given one.public S hasCpuUtilization(io.fabric8.kubernetes.api.model.extensions.CPUTargetUtilization cpuUtilization)
cpuUtilization
- the given cpuUtilization to compare the actual HorizontalPodAutoscalerSpec's cpuUtilization to.AssertionError
- - if the actual HorizontalPodAutoscalerSpec's cpuUtilization is not equal to the given one.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 S hasScaleRef(io.fabric8.kubernetes.api.model.extensions.SubresourceReference scaleRef)
scaleRef
- the given scaleRef to compare the actual HorizontalPodAutoscalerSpec's scaleRef to.AssertionError
- - if the actual HorizontalPodAutoscalerSpec's scaleRef is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.