public class ServiceSpecAssert extends AbstractServiceSpecAssert<ServiceSpecAssert,io.fabric8.kubernetes.api.model.ServiceSpec>
ServiceSpec
specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractServiceSpecAssert
instead.Constructor and Description |
---|
ServiceSpecAssert(io.fabric8.kubernetes.api.model.ServiceSpec actual)
Creates a new
to make assertions on actual ServiceSpec. |
Modifier and Type | Method and Description |
---|---|
static ServiceSpecAssert |
assertThat(io.fabric8.kubernetes.api.model.ServiceSpec actual)
An entry point for ServiceSpecAssert to follow AssertJ standard
assertThat() statements.With a static import, one can write directly: assertThat(myServiceSpec) and get specific assertion with code completion. |
additionalProperties, clusterIP, externalIPs, externalName, externalTrafficPolicy, hasHealthCheckNodePort, loadBalancerIP, loadBalancerSourceRanges, ports, selector, sessionAffinity, type
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, 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, withFailMessage, withThreadDumpOnError
public ServiceSpecAssert(io.fabric8.kubernetes.api.model.ServiceSpec actual)
ServiceSpecAssert
to make assertions on actual ServiceSpec.actual
- the ServiceSpec we want to make assertions on.public static ServiceSpecAssert assertThat(io.fabric8.kubernetes.api.model.ServiceSpec actual)
assertThat()
statements.assertThat(myServiceSpec)
and get specific assertion with code completion.actual
- the ServiceSpec we want to make assertions on.ServiceSpecAssert
Copyright © 2011–2017 Red Hat. All rights reserved.