public abstract class AbstractServiceFluentAssert<S extends AbstractServiceFluentAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ServiceFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
ServiceFluent
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractServiceFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ServiceFluent. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ServiceFluent's additionalProperties is equal to the given one.
|
S |
hasAnnotations(Map annotations)
Verifies that the actual ServiceFluent's annotations is equal to the given one.
|
S |
hasApiVersion(String apiVersion)
Verifies that the actual ServiceFluent's apiVersion is equal to the given one.
|
S |
hasContainerPort(io.fabric8.kubernetes.api.model.util.IntOrString containerPort)
Verifies that the actual ServiceFluent's containerPort is equal to the given one.
|
S |
hasCreationTimestamp(String creationTimestamp)
Verifies that the actual ServiceFluent's creationTimestamp is equal to the given one.
|
S |
hasId(String id)
Verifies that the actual ServiceFluent's id is equal to the given one.
|
S |
hasKind(String kind)
Verifies that the actual ServiceFluent's kind is equal to the given one.
|
S |
hasLabels(Map labels)
Verifies that the actual ServiceFluent's labels is equal to the given one.
|
S |
hasNamespace(String namespace)
Verifies that the actual ServiceFluent's namespace is equal to the given one.
|
S |
hasNoPublicIPs()
Verifies that the actual ServiceFluent has no publicIPs.
|
S |
hasPort(Integer port)
Verifies that the actual ServiceFluent's port is equal to the given one.
|
S |
hasPortalIP(String portalIP)
Verifies that the actual ServiceFluent's portalIP is equal to the given one.
|
S |
hasProtocol(String protocol)
Verifies that the actual ServiceFluent's protocol is equal to the given one.
|
S |
hasProxyPort(Integer proxyPort)
Verifies that the actual ServiceFluent's proxyPort is equal to the given one.
|
S |
hasPublicIPs(String... publicIPs)
Verifies that the actual ServiceFluent's publicIPs contains the given String elements.
|
S |
hasResourceVersion(Integer resourceVersion)
Verifies that the actual ServiceFluent's resourceVersion is equal to the given one.
|
S |
hasSelector(Map selector)
Verifies that the actual ServiceFluent's selector is equal to the given one.
|
S |
hasSelfLink(String selfLink)
Verifies that the actual ServiceFluent's selfLink is equal to the given one.
|
S |
hasSessionAffinity(String sessionAffinity)
Verifies that the actual ServiceFluent's sessionAffinity is equal to the given one.
|
S |
hasUid(String uid)
Verifies that the actual ServiceFluent's uid 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 AbstractServiceFluentAssert(A actual, Class<S> selfType)
AbstractServiceFluentAssert
to make assertions on actual ServiceFluent.actual
- the ServiceFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ServiceFluent's additionalProperties to.AssertionError
- - if the actual ServiceFluent's additionalProperties is not equal to the given one.public S hasAnnotations(Map annotations)
annotations
- the given annotations to compare the actual ServiceFluent's annotations to.AssertionError
- - if the actual ServiceFluent's annotations is not equal to the given one.public S hasApiVersion(String apiVersion)
apiVersion
- the given apiVersion to compare the actual ServiceFluent's apiVersion to.AssertionError
- - if the actual ServiceFluent's apiVersion is not equal to the given one.public S hasContainerPort(io.fabric8.kubernetes.api.model.util.IntOrString containerPort)
containerPort
- the given containerPort to compare the actual ServiceFluent's containerPort to.AssertionError
- - if the actual ServiceFluent's containerPort is not equal to the given one.public S hasCreationTimestamp(String creationTimestamp)
creationTimestamp
- the given creationTimestamp to compare the actual ServiceFluent's creationTimestamp to.AssertionError
- - if the actual ServiceFluent's creationTimestamp is not equal to the given one.public S hasId(String id)
id
- the given id to compare the actual ServiceFluent's id to.AssertionError
- - if the actual ServiceFluent's id is not equal to the given one.public S hasKind(String kind)
kind
- the given kind to compare the actual ServiceFluent's kind to.AssertionError
- - if the actual ServiceFluent's kind is not equal to the given one.public S hasLabels(Map labels)
labels
- the given labels to compare the actual ServiceFluent's labels to.AssertionError
- - if the actual ServiceFluent's labels is not equal to the given one.public S hasNamespace(String namespace)
namespace
- the given namespace to compare the actual ServiceFluent's namespace to.AssertionError
- - if the actual ServiceFluent's namespace is not equal to the given one.public S hasPort(Integer port)
port
- the given port to compare the actual ServiceFluent's port to.AssertionError
- - if the actual ServiceFluent's port is not equal to the given one.public S hasPortalIP(String portalIP)
portalIP
- the given portalIP to compare the actual ServiceFluent's portalIP to.AssertionError
- - if the actual ServiceFluent's portalIP is not equal to the given one.public S hasProtocol(String protocol)
protocol
- the given protocol to compare the actual ServiceFluent's protocol to.AssertionError
- - if the actual ServiceFluent's protocol is not equal to the given one.public S hasProxyPort(Integer proxyPort)
proxyPort
- the given proxyPort to compare the actual ServiceFluent's proxyPort to.AssertionError
- - if the actual ServiceFluent's proxyPort is not equal to the given one.public S hasPublicIPs(String... publicIPs)
publicIPs
- the given elements that should be contained in actual ServiceFluent's publicIPs.AssertionError
- if the actual ServiceFluent's publicIPs does not contain all given String elements.public S hasNoPublicIPs()
AssertionError
- if the actual ServiceFluent's publicIPs is not empty.public S hasResourceVersion(Integer resourceVersion)
resourceVersion
- the given resourceVersion to compare the actual ServiceFluent's resourceVersion to.AssertionError
- - if the actual ServiceFluent's resourceVersion is not equal to the given one.public S hasSelector(Map selector)
selector
- the given selector to compare the actual ServiceFluent's selector to.AssertionError
- - if the actual ServiceFluent's selector is not equal to the given one.public S hasSelfLink(String selfLink)
selfLink
- the given selfLink to compare the actual ServiceFluent's selfLink to.AssertionError
- - if the actual ServiceFluent's selfLink is not equal to the given one.public S hasSessionAffinity(String sessionAffinity)
sessionAffinity
- the given sessionAffinity to compare the actual ServiceFluent's sessionAffinity to.AssertionError
- - if the actual ServiceFluent's sessionAffinity is not equal to the given one.public S hasUid(String uid)
uid
- the given uid to compare the actual ServiceFluent's uid to.AssertionError
- - if the actual ServiceFluent's uid is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.