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