public abstract class AbstractPodSelectorAssert<S extends AbstractPodSelectorAssert<S,A>,A extends io.fabric8.kubernetes.api.model.extensions.PodSelector>
extends org.assertj.core.api.AbstractAssert<S,A>
PodSelector
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractPodSelectorAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual PodSelector. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveMatchExpressions(io.fabric8.kubernetes.api.model.extensions.PodSelectorRequirement... matchExpressions)
Verifies that the actual PodSelector's matchExpressions does not contain the given PodSelectorRequirement elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual PodSelector's additionalProperties is equal to the given one.
|
S |
hasMatchExpressions(io.fabric8.kubernetes.api.model.extensions.PodSelectorRequirement... matchExpressions)
Verifies that the actual PodSelector's matchExpressions contains the given PodSelectorRequirement elements.
|
S |
hasMatchLabels(Map matchLabels)
Verifies that the actual PodSelector's matchLabels is equal to the given one.
|
S |
hasNoMatchExpressions()
Verifies that the actual PodSelector has no matchExpressions.
|
S |
hasOnlyMatchExpressions(io.fabric8.kubernetes.api.model.extensions.PodSelectorRequirement... matchExpressions)
Verifies that the actual PodSelector's matchExpressions contains only the given PodSelectorRequirement 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 AbstractPodSelectorAssert(A actual, Class<S> selfType)
AbstractPodSelectorAssert
to make assertions on actual PodSelector.actual
- the PodSelector we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual PodSelector's additionalProperties to.AssertionError
- - if the actual PodSelector's additionalProperties is not equal to the given one.public S hasMatchExpressions(io.fabric8.kubernetes.api.model.extensions.PodSelectorRequirement... matchExpressions)
matchExpressions
- the given elements that should be contained in actual PodSelector's matchExpressions.AssertionError
- if the actual PodSelector's matchExpressions does not contain all given PodSelectorRequirement elements.public S hasOnlyMatchExpressions(io.fabric8.kubernetes.api.model.extensions.PodSelectorRequirement... matchExpressions)
matchExpressions
- the given elements that should be contained in actual PodSelector's matchExpressions.AssertionError
- if the actual PodSelector's matchExpressions does not contain all given PodSelectorRequirement elements.public S doesNotHaveMatchExpressions(io.fabric8.kubernetes.api.model.extensions.PodSelectorRequirement... matchExpressions)
matchExpressions
- the given elements that should not be in actual PodSelector's matchExpressions.AssertionError
- if the actual PodSelector's matchExpressions contains any given PodSelectorRequirement elements.public S hasNoMatchExpressions()
AssertionError
- if the actual PodSelector's matchExpressions is not empty.public S hasMatchLabels(Map matchLabels)
matchLabels
- the given matchLabels to compare the actual PodSelector's matchLabels to.AssertionError
- - if the actual PodSelector's matchLabels is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.