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