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 |
hasNoPorts()
Verifies that the actual ServiceSpecFluent has no ports.
|
S |
hasNoPublicIPs()
Verifies that the actual ServiceSpecFluent has no publicIPs.
|
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 |
hasPublicIPs(String... publicIPs)
Verifies that the actual ServiceSpecFluent's publicIPs contains the given String 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.
|
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, usingDefaultComparatorprotected 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 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 hasPublicIPs(String... publicIPs)
publicIPs - the given elements that should be contained in actual ServiceSpecFluent's publicIPs.AssertionError - if the actual ServiceSpecFluent's publicIPs does not contain all given String elements.public S hasNoPublicIPs()
AssertionError - if the actual ServiceSpecFluent's publicIPs 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.Copyright © 2011–2015 Red Hat. All rights reserved.