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(String 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 |
hasEndpoints(String... endpoints)
Verifies that the actual Endpoints's endpoints contains the given String elements.
|
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 |
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 |
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(String 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 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 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 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 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.