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