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