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