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