public abstract class AbstractEndpointSubsetAssert<S extends AbstractEndpointSubsetAssert<S,A>,A extends io.fabric8.kubernetes.api.model.EndpointSubset>
extends org.assertj.core.api.AbstractAssert<S,A>
EndpointSubset specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractEndpointSubsetAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual EndpointSubset. |
| Modifier and Type | Method and Description |
|---|---|
S |
doesNotHaveAddresses(io.fabric8.kubernetes.api.model.EndpointAddress... addresses)
Verifies that the actual EndpointSubset's addresses does not contain the given EndpointAddress elements.
|
S |
doesNotHaveNotReadyAddresses(io.fabric8.kubernetes.api.model.EndpointAddress... notReadyAddresses)
Verifies that the actual EndpointSubset's notReadyAddresses does not contain the given EndpointAddress elements.
|
S |
doesNotHavePorts(io.fabric8.kubernetes.api.model.EndpointPort... ports)
Verifies that the actual EndpointSubset's ports does not contain the given EndpointPort elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual EndpointSubset's additionalProperties is equal to the given one.
|
S |
hasAddresses(io.fabric8.kubernetes.api.model.EndpointAddress... addresses)
Verifies that the actual EndpointSubset's addresses contains the given EndpointAddress elements.
|
S |
hasNoAddresses()
Verifies that the actual EndpointSubset has no addresses.
|
S |
hasNoNotReadyAddresses()
Verifies that the actual EndpointSubset has no notReadyAddresses.
|
S |
hasNoPorts()
Verifies that the actual EndpointSubset has no ports.
|
S |
hasNotReadyAddresses(io.fabric8.kubernetes.api.model.EndpointAddress... notReadyAddresses)
Verifies that the actual EndpointSubset's notReadyAddresses contains the given EndpointAddress elements.
|
S |
hasOnlyAddresses(io.fabric8.kubernetes.api.model.EndpointAddress... addresses)
Verifies that the actual EndpointSubset's addresses contains only the given EndpointAddress elements and nothing else in whatever order.
|
S |
hasOnlyNotReadyAddresses(io.fabric8.kubernetes.api.model.EndpointAddress... notReadyAddresses)
Verifies that the actual EndpointSubset's notReadyAddresses contains only the given EndpointAddress elements and nothing else in whatever order.
|
S |
hasOnlyPorts(io.fabric8.kubernetes.api.model.EndpointPort... ports)
Verifies that the actual EndpointSubset's ports contains only the given EndpointPort elements and nothing else in whatever order.
|
S |
hasPorts(io.fabric8.kubernetes.api.model.EndpointPort... ports)
Verifies that the actual EndpointSubset's ports contains the given EndpointPort 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, usingDefaultComparatorprotected AbstractEndpointSubsetAssert(A actual, Class<S> selfType)
AbstractEndpointSubsetAssert to make assertions on actual EndpointSubset.actual - the EndpointSubset we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties - the given additionalProperties to compare the actual EndpointSubset's additionalProperties to.AssertionError - - if the actual EndpointSubset's additionalProperties is not equal to the given one.public S hasAddresses(io.fabric8.kubernetes.api.model.EndpointAddress... addresses)
addresses - the given elements that should be contained in actual EndpointSubset's addresses.AssertionError - if the actual EndpointSubset's addresses does not contain all given EndpointAddress elements.public S hasOnlyAddresses(io.fabric8.kubernetes.api.model.EndpointAddress... addresses)
addresses - the given elements that should be contained in actual EndpointSubset's addresses.AssertionError - if the actual EndpointSubset's addresses does not contain all given EndpointAddress elements.public S doesNotHaveAddresses(io.fabric8.kubernetes.api.model.EndpointAddress... addresses)
addresses - the given elements that should not be in actual EndpointSubset's addresses.AssertionError - if the actual EndpointSubset's addresses contains any given EndpointAddress elements.public S hasNoAddresses()
AssertionError - if the actual EndpointSubset's addresses is not empty.public S hasNotReadyAddresses(io.fabric8.kubernetes.api.model.EndpointAddress... notReadyAddresses)
notReadyAddresses - the given elements that should be contained in actual EndpointSubset's notReadyAddresses.AssertionError - if the actual EndpointSubset's notReadyAddresses does not contain all given EndpointAddress elements.public S hasOnlyNotReadyAddresses(io.fabric8.kubernetes.api.model.EndpointAddress... notReadyAddresses)
notReadyAddresses - the given elements that should be contained in actual EndpointSubset's notReadyAddresses.AssertionError - if the actual EndpointSubset's notReadyAddresses does not contain all given EndpointAddress elements.public S doesNotHaveNotReadyAddresses(io.fabric8.kubernetes.api.model.EndpointAddress... notReadyAddresses)
notReadyAddresses - the given elements that should not be in actual EndpointSubset's notReadyAddresses.AssertionError - if the actual EndpointSubset's notReadyAddresses contains any given EndpointAddress elements.public S hasNoNotReadyAddresses()
AssertionError - if the actual EndpointSubset's notReadyAddresses is not empty.public S hasPorts(io.fabric8.kubernetes.api.model.EndpointPort... ports)
ports - the given elements that should be contained in actual EndpointSubset's ports.AssertionError - if the actual EndpointSubset's ports does not contain all given EndpointPort elements.public S hasOnlyPorts(io.fabric8.kubernetes.api.model.EndpointPort... ports)
ports - the given elements that should be contained in actual EndpointSubset's ports.AssertionError - if the actual EndpointSubset's ports does not contain all given EndpointPort elements.public S doesNotHavePorts(io.fabric8.kubernetes.api.model.EndpointPort... ports)
ports - the given elements that should not be in actual EndpointSubset's ports.AssertionError - if the actual EndpointSubset's ports contains any given EndpointPort elements.public S hasNoPorts()
AssertionError - if the actual EndpointSubset's ports is not empty.Copyright © 2011–2016 Red Hat. All rights reserved.