public class ServiceAssert extends AbstractServiceAssert<ServiceAssert,io.fabric8.kubernetes.api.model.Service>
Service
specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractServiceAssert
instead.Constructor and Description |
---|
ServiceAssert(io.fabric8.kubernetes.api.model.Service actual)
Creates a new
to make assertions on actual Service. |
Modifier and Type | Method and Description |
---|---|
static ServiceAssert |
assertThat(io.fabric8.kubernetes.api.model.Service actual)
An entry point for ServiceAssert to follow AssertJ standard
assertThat() statements.With a static import, one can write directly: assertThat(myService) and get specific assertion with code completion. |
additionalProperties, apiVersion, kind, metadata, spec, status
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withRepresentation, withThreadDumpOnError
public ServiceAssert(io.fabric8.kubernetes.api.model.Service actual)
ServiceAssert
to make assertions on actual Service.actual
- the Service we want to make assertions on.public static ServiceAssert assertThat(io.fabric8.kubernetes.api.model.Service actual)
assertThat()
statements.assertThat(myService)
and get specific assertion with code completion.actual
- the Service we want to make assertions on.ServiceAssert
Copyright © 2020. All rights reserved.