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