public abstract class AbstractServicePortFluentAssert<S extends AbstractServicePortFluentAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ServicePortFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
ServicePortFluent
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractServicePortFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ServicePortFluent. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ServicePortFluent's additionalProperties is equal to the given one.
|
S |
hasName(String name)
Verifies that the actual ServicePortFluent's name is equal to the given one.
|
S |
hasNodePort(Integer nodePort)
Verifies that the actual ServicePortFluent's nodePort is equal to the given one.
|
S |
hasPort(Integer port)
Verifies that the actual ServicePortFluent's port is equal to the given one.
|
S |
hasProtocol(String protocol)
Verifies that the actual ServicePortFluent's protocol is equal to the given one.
|
S |
hasTargetPort(io.fabric8.kubernetes.api.model.IntOrString targetPort)
Verifies that the actual ServicePortFluent's targetPort 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 AbstractServicePortFluentAssert(A actual, Class<S> selfType)
AbstractServicePortFluentAssert
to make assertions on actual ServicePortFluent.actual
- the ServicePortFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ServicePortFluent's additionalProperties to.AssertionError
- - if the actual ServicePortFluent's additionalProperties is not equal to the given one.public S hasName(String name)
name
- the given name to compare the actual ServicePortFluent's name to.AssertionError
- - if the actual ServicePortFluent's name is not equal to the given one.public S hasNodePort(Integer nodePort)
nodePort
- the given nodePort to compare the actual ServicePortFluent's nodePort to.AssertionError
- - if the actual ServicePortFluent's nodePort is not equal to the given one.public S hasPort(Integer port)
port
- the given port to compare the actual ServicePortFluent's port to.AssertionError
- - if the actual ServicePortFluent's port is not equal to the given one.public S hasProtocol(String protocol)
protocol
- the given protocol to compare the actual ServicePortFluent's protocol to.AssertionError
- - if the actual ServicePortFluent's protocol is not equal to the given one.public S hasTargetPort(io.fabric8.kubernetes.api.model.IntOrString targetPort)
targetPort
- the given targetPort to compare the actual ServicePortFluent's targetPort to.AssertionError
- - if the actual ServicePortFluent's targetPort is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.