public abstract class AbstractExecNewPodHookAssert<S extends AbstractExecNewPodHookAssert<S,A>,A extends io.fabric8.openshift.api.model.ExecNewPodHook>
extends org.assertj.core.api.AbstractAssert<S,A>
ExecNewPodHook
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractExecNewPodHookAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ExecNewPodHook. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveCommand(String... command)
Verifies that the actual ExecNewPodHook's command does not contain the given String elements.
|
S |
doesNotHaveEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual ExecNewPodHook's env does not contain the given io.fabric8.kubernetes.api.model.EnvVar elements.
|
S |
doesNotHaveVolumes(String... volumes)
Verifies that the actual ExecNewPodHook's volumes does not contain the given String elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ExecNewPodHook's additionalProperties is equal to the given one.
|
S |
hasCommand(String... command)
Verifies that the actual ExecNewPodHook's command contains the given String elements.
|
S |
hasContainerName(String containerName)
Verifies that the actual ExecNewPodHook's containerName is equal to the given one.
|
S |
hasEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual ExecNewPodHook's env contains the given io.fabric8.kubernetes.api.model.EnvVar elements.
|
S |
hasNoCommand()
Verifies that the actual ExecNewPodHook has no command.
|
S |
hasNoEnv()
Verifies that the actual ExecNewPodHook has no env.
|
S |
hasNoVolumes()
Verifies that the actual ExecNewPodHook has no volumes.
|
S |
hasOnlyCommand(String... command)
Verifies that the actual ExecNewPodHook's command contains only the given String elements and nothing else in whatever order.
|
S |
hasOnlyEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual ExecNewPodHook's env contains only the given io.fabric8.kubernetes.api.model.EnvVar elements and nothing else in whatever order.
|
S |
hasOnlyVolumes(String... volumes)
Verifies that the actual ExecNewPodHook's volumes contains only the given String elements and nothing else in whatever order.
|
S |
hasVolumes(String... volumes)
Verifies that the actual ExecNewPodHook's volumes contains the given String elements.
|
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
protected AbstractExecNewPodHookAssert(A actual, Class<S> selfType)
AbstractExecNewPodHookAssert
to make assertions on actual ExecNewPodHook.actual
- the ExecNewPodHook we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ExecNewPodHook's additionalProperties to.AssertionError
- - if the actual ExecNewPodHook's additionalProperties is not equal to the given one.public S hasCommand(String... command)
command
- the given elements that should be contained in actual ExecNewPodHook's command.AssertionError
- if the actual ExecNewPodHook's command does not contain all given String elements.public S hasOnlyCommand(String... command)
command
- the given elements that should be contained in actual ExecNewPodHook's command.AssertionError
- if the actual ExecNewPodHook's command does not contain all given String elements.public S doesNotHaveCommand(String... command)
command
- the given elements that should not be in actual ExecNewPodHook's command.AssertionError
- if the actual ExecNewPodHook's command contains any given String elements.public S hasNoCommand()
AssertionError
- if the actual ExecNewPodHook's command is not empty.public S hasContainerName(String containerName)
containerName
- the given containerName to compare the actual ExecNewPodHook's containerName to.AssertionError
- - if the actual ExecNewPodHook's containerName is not equal to the given one.public S hasEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
env
- the given elements that should be contained in actual ExecNewPodHook's env.AssertionError
- if the actual ExecNewPodHook's env does not contain all given io.fabric8.kubernetes.api.model.EnvVar elements.public S hasOnlyEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
env
- the given elements that should be contained in actual ExecNewPodHook's env.AssertionError
- if the actual ExecNewPodHook's env does not contain all given io.fabric8.kubernetes.api.model.EnvVar elements.public S doesNotHaveEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
env
- the given elements that should not be in actual ExecNewPodHook's env.AssertionError
- if the actual ExecNewPodHook's env contains any given io.fabric8.kubernetes.api.model.EnvVar elements.public S hasNoEnv()
AssertionError
- if the actual ExecNewPodHook's env is not empty.public S hasVolumes(String... volumes)
volumes
- the given elements that should be contained in actual ExecNewPodHook's volumes.AssertionError
- if the actual ExecNewPodHook's volumes does not contain all given String elements.public S hasOnlyVolumes(String... volumes)
volumes
- the given elements that should be contained in actual ExecNewPodHook's volumes.AssertionError
- if the actual ExecNewPodHook's volumes does not contain all given String elements.public S doesNotHaveVolumes(String... volumes)
volumes
- the given elements that should not be in actual ExecNewPodHook's volumes.AssertionError
- if the actual ExecNewPodHook's volumes contains any given String elements.public S hasNoVolumes()
AssertionError
- if the actual ExecNewPodHook's volumes is not empty.Copyright © 2011–2015 Red Hat. All rights reserved.