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