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