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 |
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 |
hasNoPorts()
Verifies that the actual EndpointSubset has no ports.
|
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, usingDefaultComparator
protected 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 hasNoAddresses()
AssertionError
- if the actual EndpointSubset's addresses 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 hasNoPorts()
AssertionError
- if the actual EndpointSubset's ports is not empty.Copyright © 2011–2015 Red Hat. All rights reserved.