public class PodSpecAssert extends AbstractPodSpecAssert<PodSpecAssert,io.fabric8.kubernetes.api.model.PodSpec>
PodSpec
specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractPodSpecAssert
instead.Constructor and Description |
---|
PodSpecAssert(io.fabric8.kubernetes.api.model.PodSpec actual)
Creates a new
to make assertions on actual PodSpec. |
Modifier and Type | Method and Description |
---|---|
static PodSpecAssert |
assertThat(io.fabric8.kubernetes.api.model.PodSpec actual)
An entry point for PodSpecAssert to follow AssertJ standard
assertThat() statements.With a static import, one can write directly: assertThat(myPodSpec) and get specific assertion with code completion. |
doesNotHaveContainers, doesNotHaveImagePullSecrets, doesNotHaveVolumes, hasActiveDeadlineSeconds, hasAdditionalProperties, hasContainers, hasDnsPolicy, hasHost, hasHostIPC, hasHostNetwork, hasHostPID, hasImagePullSecrets, hasNoContainers, hasNodeName, hasNodeSelector, hasNoImagePullSecrets, hasNoVolumes, hasOnlyContainers, hasOnlyImagePullSecrets, hasOnlyVolumes, hasRestartPolicy, hasSecurityContext, hasServiceAccount, hasServiceAccountName, hasTerminationGracePeriodSeconds, hasVolumes
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 PodSpecAssert(io.fabric8.kubernetes.api.model.PodSpec actual)
PodSpecAssert
to make assertions on actual PodSpec.actual
- the PodSpec we want to make assertions on.public static PodSpecAssert assertThat(io.fabric8.kubernetes.api.model.PodSpec actual)
assertThat()
statements.assertThat(myPodSpec)
and get specific assertion with code completion.actual
- the PodSpec we want to make assertions on.PodSpecAssert
Copyright © 2011–2016 Red Hat. All rights reserved.