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