public abstract class AbstractEndpointsAssert<S extends AbstractEndpointsAssert<S,A>,A extends io.fabric8.kubernetes.api.model.Endpoints>
extends org.assertj.core.api.AbstractAssert<S,A>
Endpoints
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractEndpointsAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual Endpoints. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual Endpoints's additionalProperties is equal to the given one.
|
S |
hasAnnotations(Map annotations)
Verifies that the actual Endpoints's annotations is equal to the given one.
|
S |
hasApiVersion(io.fabric8.kubernetes.api.model.Endpoints.ApiVersion apiVersion)
Verifies that the actual Endpoints's apiVersion is equal to the given one.
|
S |
hasCreationTimestamp(String creationTimestamp)
Verifies that the actual Endpoints's creationTimestamp is equal to the given one.
|
S |
hasDeletionTimestamp(String deletionTimestamp)
Verifies that the actual Endpoints's deletionTimestamp is equal to the given one.
|
S |
hasEndpoints(String... endpoints)
Verifies that the actual Endpoints's endpoints contains the given String elements.
|
S |
hasGenerateName(String generateName)
Verifies that the actual Endpoints's generateName is equal to the given one.
|
S |
hasId(String id)
Verifies that the actual Endpoints's id is equal to the given one.
|
S |
hasKind(String kind)
Verifies that the actual Endpoints's kind is equal to the given one.
|
S |
hasNamespace(String namespace)
Verifies that the actual Endpoints's namespace is equal to the given one.
|
S |
hasNoEndpoints()
Verifies that the actual Endpoints has no endpoints.
|
S |
hasNoSubsets()
Verifies that the actual Endpoints has no subsets.
|
S |
hasNoTargetRefs()
Verifies that the actual Endpoints has no targetRefs.
|
S |
hasProtocol(String protocol)
Verifies that the actual Endpoints's protocol is equal to the given one.
|
S |
hasResourceVersion(Integer resourceVersion)
Verifies that the actual Endpoints's resourceVersion is equal to the given one.
|
S |
hasSelfLink(String selfLink)
Verifies that the actual Endpoints's selfLink is equal to the given one.
|
S |
hasSubsets(io.fabric8.kubernetes.api.model.EndpointSubset... subsets)
Verifies that the actual Endpoints's subsets contains the given EndpointSubset elements.
|
S |
hasTargetRefs(io.fabric8.kubernetes.api.model.EndpointObjectReference... targetRefs)
Verifies that the actual Endpoints's targetRefs contains the given EndpointObjectReference elements.
|
S |
hasUid(String uid)
Verifies that the actual Endpoints'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 AbstractEndpointsAssert(A actual, Class<S> selfType)
AbstractEndpointsAssert
to make assertions on actual Endpoints.actual
- the Endpoints we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual Endpoints's additionalProperties to.AssertionError
- - if the actual Endpoints's additionalProperties is not equal to the given one.public S hasAnnotations(Map annotations)
annotations
- the given annotations to compare the actual Endpoints's annotations to.AssertionError
- - if the actual Endpoints's annotations is not equal to the given one.public S hasApiVersion(io.fabric8.kubernetes.api.model.Endpoints.ApiVersion apiVersion)
apiVersion
- the given apiVersion to compare the actual Endpoints's apiVersion to.AssertionError
- - if the actual Endpoints's apiVersion is not equal to the given one.public S hasCreationTimestamp(String creationTimestamp)
creationTimestamp
- the given creationTimestamp to compare the actual Endpoints's creationTimestamp to.AssertionError
- - if the actual Endpoints's creationTimestamp is not equal to the given one.public S hasDeletionTimestamp(String deletionTimestamp)
deletionTimestamp
- the given deletionTimestamp to compare the actual Endpoints's deletionTimestamp to.AssertionError
- - if the actual Endpoints's deletionTimestamp is not equal to the given one.public S hasEndpoints(String... endpoints)
endpoints
- the given elements that should be contained in actual Endpoints's endpoints.AssertionError
- if the actual Endpoints's endpoints does not contain all given String elements.public S hasNoEndpoints()
AssertionError
- if the actual Endpoints's endpoints is not empty.public S hasGenerateName(String generateName)
generateName
- the given generateName to compare the actual Endpoints's generateName to.AssertionError
- - if the actual Endpoints's generateName is not equal to the given one.public S hasId(String id)
id
- the given id to compare the actual Endpoints's id to.AssertionError
- - if the actual Endpoints's id is not equal to the given one.public S hasKind(String kind)
kind
- the given kind to compare the actual Endpoints's kind to.AssertionError
- - if the actual Endpoints's kind is not equal to the given one.public S hasNamespace(String namespace)
namespace
- the given namespace to compare the actual Endpoints's namespace to.AssertionError
- - if the actual Endpoints's namespace is not equal to the given one.public S hasProtocol(String protocol)
protocol
- the given protocol to compare the actual Endpoints's protocol to.AssertionError
- - if the actual Endpoints's protocol is not equal to the given one.public S hasResourceVersion(Integer resourceVersion)
resourceVersion
- the given resourceVersion to compare the actual Endpoints's resourceVersion to.AssertionError
- - if the actual Endpoints's resourceVersion is not equal to the given one.public S hasSelfLink(String selfLink)
selfLink
- the given selfLink to compare the actual Endpoints's selfLink to.AssertionError
- - if the actual Endpoints's selfLink is not equal to the given one.public S hasSubsets(io.fabric8.kubernetes.api.model.EndpointSubset... subsets)
subsets
- the given elements that should be contained in actual Endpoints's subsets.AssertionError
- if the actual Endpoints's subsets does not contain all given EndpointSubset elements.public S hasNoSubsets()
AssertionError
- if the actual Endpoints's subsets is not empty.public S hasTargetRefs(io.fabric8.kubernetes.api.model.EndpointObjectReference... targetRefs)
targetRefs
- the given elements that should be contained in actual Endpoints's targetRefs.AssertionError
- if the actual Endpoints's targetRefs does not contain all given EndpointObjectReference elements.public S hasNoTargetRefs()
AssertionError
- if the actual Endpoints's targetRefs is not empty.public S hasUid(String uid)
uid
- the given uid to compare the actual Endpoints's uid to.AssertionError
- - if the actual Endpoints's uid is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.