public abstract class AbstractLimitRangeSpecAssert<S extends AbstractLimitRangeSpecAssert<S,A>,A extends io.fabric8.kubernetes.api.model.LimitRangeSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
LimitRangeSpec
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractLimitRangeSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual LimitRangeSpec. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveLimits(io.fabric8.kubernetes.api.model.LimitRangeItem... limits)
Verifies that the actual LimitRangeSpec's limits does not contain the given LimitRangeItem elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual LimitRangeSpec's additionalProperties is equal to the given one.
|
S |
hasLimits(io.fabric8.kubernetes.api.model.LimitRangeItem... limits)
Verifies that the actual LimitRangeSpec's limits contains the given LimitRangeItem elements.
|
S |
hasNoLimits()
Verifies that the actual LimitRangeSpec has no limits.
|
S |
hasOnlyLimits(io.fabric8.kubernetes.api.model.LimitRangeItem... limits)
Verifies that the actual LimitRangeSpec's limits contains only the given LimitRangeItem elements and nothing else in whatever order.
|
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 AbstractLimitRangeSpecAssert(A actual, Class<S> selfType)
AbstractLimitRangeSpecAssert
to make assertions on actual LimitRangeSpec.actual
- the LimitRangeSpec we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual LimitRangeSpec's additionalProperties to.AssertionError
- - if the actual LimitRangeSpec's additionalProperties is not equal to the given one.public S hasLimits(io.fabric8.kubernetes.api.model.LimitRangeItem... limits)
limits
- the given elements that should be contained in actual LimitRangeSpec's limits.AssertionError
- if the actual LimitRangeSpec's limits does not contain all given LimitRangeItem elements.public S hasOnlyLimits(io.fabric8.kubernetes.api.model.LimitRangeItem... limits)
limits
- the given elements that should be contained in actual LimitRangeSpec's limits.AssertionError
- if the actual LimitRangeSpec's limits does not contain all given LimitRangeItem elements.public S doesNotHaveLimits(io.fabric8.kubernetes.api.model.LimitRangeItem... limits)
limits
- the given elements that should not be in actual LimitRangeSpec's limits.AssertionError
- if the actual LimitRangeSpec's limits contains any given LimitRangeItem elements.public S hasNoLimits()
AssertionError
- if the actual LimitRangeSpec's limits is not empty.Copyright © 2011–2016 Red Hat. All rights reserved.