public class ServicePortAssert extends AbstractServicePortAssert<ServicePortAssert,io.fabric8.kubernetes.api.model.ServicePort>
ServicePort
specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractServicePortAssert
instead.Constructor and Description |
---|
ServicePortAssert(io.fabric8.kubernetes.api.model.ServicePort actual)
Creates a new
to make assertions on actual ServicePort. |
Modifier and Type | Method and Description |
---|---|
static ServicePortAssert |
assertThat(io.fabric8.kubernetes.api.model.ServicePort actual)
An entry point for ServicePortAssert to follow AssertJ standard
assertThat() statements.With a static import, one can write directly: assertThat(myServicePort) and get specific assertion with code completion. |
hasAdditionalProperties, hasName, hasNodePort, hasPort, hasProtocol, hasTargetPort
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
public ServicePortAssert(io.fabric8.kubernetes.api.model.ServicePort actual)
ServicePortAssert
to make assertions on actual ServicePort.actual
- the ServicePort we want to make assertions on.public static ServicePortAssert assertThat(io.fabric8.kubernetes.api.model.ServicePort actual)
assertThat()
statements.assertThat(myServicePort)
and get specific assertion with code completion.actual
- the ServicePort we want to make assertions on.ServicePortAssert
Copyright © 2011–2016 Red Hat. All rights reserved.