public abstract class AbstractServiceSpecFluentImplAssert<S extends AbstractServiceSpecFluentImplAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ServiceSpecFluentImpl>
extends org.assertj.core.api.AbstractAssert<S,A>
ServiceSpecFluentImpl
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractServiceSpecFluentImplAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ServiceSpecFluentImpl. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveDeprecatedPublicIPs(String... deprecatedPublicIPs)
Verifies that the actual ServiceSpecFluentImpl's deprecatedPublicIPs does not contain the given String elements.
|
S |
doesNotHaveExternalIPs(String... externalIPs)
Verifies that the actual ServiceSpecFluentImpl's externalIPs does not contain the given String elements.
|
S |
doesNotHavePorts(io.fabric8.kubernetes.api.model.ServicePort... ports)
Verifies that the actual ServiceSpecFluentImpl's ports does not contain the given ServicePort elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ServiceSpecFluentImpl's additionalProperties is equal to the given one.
|
S |
hasClusterIP(String clusterIP)
Verifies that the actual ServiceSpecFluentImpl's clusterIP is equal to the given one.
|
S |
hasDeprecatedPublicIPs(String... deprecatedPublicIPs)
Verifies that the actual ServiceSpecFluentImpl's deprecatedPublicIPs contains the given String elements.
|
S |
hasExternalIPs(String... externalIPs)
Verifies that the actual ServiceSpecFluentImpl's externalIPs contains the given String elements.
|
S |
hasLoadBalancerIP(String loadBalancerIP)
Verifies that the actual ServiceSpecFluentImpl's loadBalancerIP is equal to the given one.
|
S |
hasNoDeprecatedPublicIPs()
Verifies that the actual ServiceSpecFluentImpl has no deprecatedPublicIPs.
|
S |
hasNoExternalIPs()
Verifies that the actual ServiceSpecFluentImpl has no externalIPs.
|
S |
hasNoPorts()
Verifies that the actual ServiceSpecFluentImpl has no ports.
|
S |
hasOnlyDeprecatedPublicIPs(String... deprecatedPublicIPs)
Verifies that the actual ServiceSpecFluentImpl's deprecatedPublicIPs contains only the given String elements and nothing else in whatever order.
|
S |
hasOnlyExternalIPs(String... externalIPs)
Verifies that the actual ServiceSpecFluentImpl's externalIPs contains only the given String elements and nothing else in whatever order.
|
S |
hasOnlyPorts(io.fabric8.kubernetes.api.model.ServicePort... ports)
Verifies that the actual ServiceSpecFluentImpl's ports contains only the given ServicePort elements and nothing else in whatever order.
|
S |
hasPortalIP(String portalIP)
Verifies that the actual ServiceSpecFluentImpl's portalIP is equal to the given one.
|
S |
hasPorts(io.fabric8.kubernetes.api.model.ServicePort... ports)
Verifies that the actual ServiceSpecFluentImpl's ports contains the given ServicePort elements.
|
S |
hasSelector(Map selector)
Verifies that the actual ServiceSpecFluentImpl's selector is equal to the given one.
|
S |
hasSessionAffinity(String sessionAffinity)
Verifies that the actual ServiceSpecFluentImpl's sessionAffinity is equal to the given one.
|
S |
hasType(String type)
Verifies that the actual ServiceSpecFluentImpl's type 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 AbstractServiceSpecFluentImplAssert(A actual, Class<S> selfType)
AbstractServiceSpecFluentImplAssert
to make assertions on actual ServiceSpecFluentImpl.actual
- the ServiceSpecFluentImpl we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ServiceSpecFluentImpl's additionalProperties to.AssertionError
- - if the actual ServiceSpecFluentImpl's additionalProperties is not equal to the given one.public S hasClusterIP(String clusterIP)
clusterIP
- the given clusterIP to compare the actual ServiceSpecFluentImpl's clusterIP to.AssertionError
- - if the actual ServiceSpecFluentImpl's clusterIP is not equal to the given one.public S hasDeprecatedPublicIPs(String... deprecatedPublicIPs)
deprecatedPublicIPs
- the given elements that should be contained in actual ServiceSpecFluentImpl's deprecatedPublicIPs.AssertionError
- if the actual ServiceSpecFluentImpl's deprecatedPublicIPs does not contain all given String elements.public S hasOnlyDeprecatedPublicIPs(String... deprecatedPublicIPs)
deprecatedPublicIPs
- the given elements that should be contained in actual ServiceSpecFluentImpl's deprecatedPublicIPs.AssertionError
- if the actual ServiceSpecFluentImpl's deprecatedPublicIPs does not contain all given String elements.public S doesNotHaveDeprecatedPublicIPs(String... deprecatedPublicIPs)
deprecatedPublicIPs
- the given elements that should not be in actual ServiceSpecFluentImpl's deprecatedPublicIPs.AssertionError
- if the actual ServiceSpecFluentImpl's deprecatedPublicIPs contains any given String elements.public S hasNoDeprecatedPublicIPs()
AssertionError
- if the actual ServiceSpecFluentImpl's deprecatedPublicIPs is not empty.public S hasExternalIPs(String... externalIPs)
externalIPs
- the given elements that should be contained in actual ServiceSpecFluentImpl's externalIPs.AssertionError
- if the actual ServiceSpecFluentImpl's externalIPs does not contain all given String elements.public S hasOnlyExternalIPs(String... externalIPs)
externalIPs
- the given elements that should be contained in actual ServiceSpecFluentImpl's externalIPs.AssertionError
- if the actual ServiceSpecFluentImpl's externalIPs does not contain all given String elements.public S doesNotHaveExternalIPs(String... externalIPs)
externalIPs
- the given elements that should not be in actual ServiceSpecFluentImpl's externalIPs.AssertionError
- if the actual ServiceSpecFluentImpl's externalIPs contains any given String elements.public S hasNoExternalIPs()
AssertionError
- if the actual ServiceSpecFluentImpl's externalIPs is not empty.public S hasLoadBalancerIP(String loadBalancerIP)
loadBalancerIP
- the given loadBalancerIP to compare the actual ServiceSpecFluentImpl's loadBalancerIP to.AssertionError
- - if the actual ServiceSpecFluentImpl's loadBalancerIP is not equal to the given one.public S hasPortalIP(String portalIP)
portalIP
- the given portalIP to compare the actual ServiceSpecFluentImpl's portalIP to.AssertionError
- - if the actual ServiceSpecFluentImpl's portalIP is not equal to the given one.public S hasPorts(io.fabric8.kubernetes.api.model.ServicePort... ports)
ports
- the given elements that should be contained in actual ServiceSpecFluentImpl's ports.AssertionError
- if the actual ServiceSpecFluentImpl's ports does not contain all given ServicePort elements.public S hasOnlyPorts(io.fabric8.kubernetes.api.model.ServicePort... ports)
ports
- the given elements that should be contained in actual ServiceSpecFluentImpl's ports.AssertionError
- if the actual ServiceSpecFluentImpl's ports does not contain all given ServicePort elements.public S doesNotHavePorts(io.fabric8.kubernetes.api.model.ServicePort... ports)
ports
- the given elements that should not be in actual ServiceSpecFluentImpl's ports.AssertionError
- if the actual ServiceSpecFluentImpl's ports contains any given ServicePort elements.public S hasNoPorts()
AssertionError
- if the actual ServiceSpecFluentImpl's ports is not empty.public S hasSelector(Map selector)
selector
- the given selector to compare the actual ServiceSpecFluentImpl's selector to.AssertionError
- - if the actual ServiceSpecFluentImpl's selector is not equal to the given one.public S hasSessionAffinity(String sessionAffinity)
sessionAffinity
- the given sessionAffinity to compare the actual ServiceSpecFluentImpl's sessionAffinity to.AssertionError
- - if the actual ServiceSpecFluentImpl's sessionAffinity is not equal to the given one.public S hasType(String type)
type
- the given type to compare the actual ServiceSpecFluentImpl's type to.AssertionError
- - if the actual ServiceSpecFluentImpl's type is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.