public abstract class AbstractEndpointsFluentAssert<S extends AbstractEndpointsFluentAssert<S,A>,A extends io.fabric8.kubernetes.api.model.EndpointsFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
EndpointsFluent
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractEndpointsFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual EndpointsFluent. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveSubsets(io.fabric8.kubernetes.api.model.EndpointSubset... subsets)
Verifies that the actual EndpointsFluent's subsets does not contain the given EndpointSubset elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual EndpointsFluent's additionalProperties is equal to the given one.
|
S |
hasApiVersion(io.fabric8.kubernetes.api.model.Endpoints.ApiVersion apiVersion)
Verifies that the actual EndpointsFluent's apiVersion is equal to the given one.
|
S |
hasKind(String kind)
Verifies that the actual EndpointsFluent's kind is equal to the given one.
|
S |
hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
Verifies that the actual EndpointsFluent's metadata is equal to the given one.
|
S |
hasNoSubsets()
Verifies that the actual EndpointsFluent has no subsets.
|
S |
hasOnlySubsets(io.fabric8.kubernetes.api.model.EndpointSubset... subsets)
Verifies that the actual EndpointsFluent's subsets contains only the given EndpointSubset elements and nothing else in whatever order.
|
S |
hasSubsets(io.fabric8.kubernetes.api.model.EndpointSubset... subsets)
Verifies that the actual EndpointsFluent's subsets contains the given EndpointSubset elements.
|
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 AbstractEndpointsFluentAssert(A actual, Class<S> selfType)
AbstractEndpointsFluentAssert
to make assertions on actual EndpointsFluent.actual
- the EndpointsFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual EndpointsFluent's additionalProperties to.AssertionError
- - if the actual EndpointsFluent's additionalProperties 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 EndpointsFluent's apiVersion to.AssertionError
- - if the actual EndpointsFluent's apiVersion is not equal to the given one.public S hasKind(String kind)
kind
- the given kind to compare the actual EndpointsFluent's kind to.AssertionError
- - if the actual EndpointsFluent's kind is not equal to the given one.public S hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
metadata
- the given metadata to compare the actual EndpointsFluent's metadata to.AssertionError
- - if the actual EndpointsFluent's metadata 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 EndpointsFluent's subsets.AssertionError
- if the actual EndpointsFluent's subsets does not contain all given EndpointSubset elements.public S hasOnlySubsets(io.fabric8.kubernetes.api.model.EndpointSubset... subsets)
subsets
- the given elements that should be contained in actual EndpointsFluent's subsets.AssertionError
- if the actual EndpointsFluent's subsets does not contain all given EndpointSubset elements.public S doesNotHaveSubsets(io.fabric8.kubernetes.api.model.EndpointSubset... subsets)
subsets
- the given elements that should not be in actual EndpointsFluent's subsets.AssertionError
- if the actual EndpointsFluent's subsets contains any given EndpointSubset elements.public S hasNoSubsets()
AssertionError
- if the actual EndpointsFluent's subsets is not empty.Copyright © 2011–2015 Red Hat. All rights reserved.