public class ContainerAssert extends AbstractContainerAssert<ContainerAssert,io.fabric8.kubernetes.api.model.Container>
Container
specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractContainerAssert
instead.Constructor and Description |
---|
ContainerAssert(io.fabric8.kubernetes.api.model.Container actual)
Creates a new
to make assertions on actual Container. |
Modifier and Type | Method and Description |
---|---|
static ContainerAssert |
assertThat(io.fabric8.kubernetes.api.model.Container actual)
An entry point for ContainerAssert to follow AssertJ standard
assertThat() statements.With a static import, one can write directly: assertThat(myContainer) and get specific assertion with code completion. |
additionalProperties, args, command, env, image, imagePullPolicy, lifecycle, livenessProbe, name, ports, readinessProbe, resources, securityContext, stdin, stdinOnce, terminationMessagePath, tty, volumeMounts, workingDir
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 ContainerAssert(io.fabric8.kubernetes.api.model.Container actual)
ContainerAssert
to make assertions on actual Container.actual
- the Container we want to make assertions on.public static ContainerAssert assertThat(io.fabric8.kubernetes.api.model.Container actual)
assertThat()
statements.assertThat(myContainer)
and get specific assertion with code completion.actual
- the Container we want to make assertions on.ContainerAssert
Copyright © 2011–2017 Red Hat. All rights reserved.