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