public abstract class AbstractScaleSpecAssert<S extends AbstractScaleSpecAssert<S,A>,A extends io.fabric8.kubernetes.api.model.v1.ScaleSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
ScaleSpec specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractScaleSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ScaleSpec. |
| 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 ScaleSpec's replicas 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, withThreadDumpOnErrorprotected AbstractScaleSpecAssert(A actual, Class<S> selfType)
AbstractScaleSpecAssert to make assertions on actual ScaleSpec.actual - the ScaleSpec 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 ScaleSpec's replicas to.AssertionError - - if the actual ScaleSpec's replicas is not equal to the given one.Copyright © 2020. All rights reserved.