public abstract class AbstractCustomBuildStrategyFluentAssert<S extends AbstractCustomBuildStrategyFluentAssert<S,A>,A extends io.fabric8.openshift.api.model.CustomBuildStrategyFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
CustomBuildStrategyFluent
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractCustomBuildStrategyFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual CustomBuildStrategyFluent. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual CustomBuildStrategyFluent's env does not contain the given io.fabric8.kubernetes.api.model.EnvVar elements.
|
S |
doesNotHaveSecrets(io.fabric8.openshift.api.model.SecretSpec... secrets)
Verifies that the actual CustomBuildStrategyFluent's secrets does not contain the given SecretSpec elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual CustomBuildStrategyFluent's additionalProperties is equal to the given one.
|
S |
hasEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual CustomBuildStrategyFluent's env contains the given io.fabric8.kubernetes.api.model.EnvVar elements.
|
S |
hasFrom(io.fabric8.kubernetes.api.model.ObjectReference from)
Verifies that the actual CustomBuildStrategyFluent's from is equal to the given one.
|
S |
hasNoEnv()
Verifies that the actual CustomBuildStrategyFluent has no env.
|
S |
hasNoSecrets()
Verifies that the actual CustomBuildStrategyFluent has no secrets.
|
S |
hasOnlyEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual CustomBuildStrategyFluent's env contains only the given io.fabric8.kubernetes.api.model.EnvVar elements and nothing else in whatever order.
|
S |
hasOnlySecrets(io.fabric8.openshift.api.model.SecretSpec... secrets)
Verifies that the actual CustomBuildStrategyFluent's secrets contains only the given SecretSpec elements and nothing else in whatever order.
|
S |
hasPullSecret(io.fabric8.kubernetes.api.model.LocalObjectReference pullSecret)
Verifies that the actual CustomBuildStrategyFluent's pullSecret is equal to the given one.
|
S |
hasSecrets(io.fabric8.openshift.api.model.SecretSpec... secrets)
Verifies that the actual CustomBuildStrategyFluent's secrets contains the given SecretSpec 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 AbstractCustomBuildStrategyFluentAssert(A actual, Class<S> selfType)
AbstractCustomBuildStrategyFluentAssert
to make assertions on actual CustomBuildStrategyFluent.actual
- the CustomBuildStrategyFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual CustomBuildStrategyFluent's additionalProperties to.AssertionError
- - if the actual CustomBuildStrategyFluent's additionalProperties 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 CustomBuildStrategyFluent's env.AssertionError
- if the actual CustomBuildStrategyFluent'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 CustomBuildStrategyFluent's env.AssertionError
- if the actual CustomBuildStrategyFluent'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 CustomBuildStrategyFluent's env.AssertionError
- if the actual CustomBuildStrategyFluent's env contains any given io.fabric8.kubernetes.api.model.EnvVar elements.public S hasNoEnv()
AssertionError
- if the actual CustomBuildStrategyFluent's env is not empty.public S hasFrom(io.fabric8.kubernetes.api.model.ObjectReference from)
from
- the given from to compare the actual CustomBuildStrategyFluent's from to.AssertionError
- - if the actual CustomBuildStrategyFluent's from is not equal to the given one.public S hasPullSecret(io.fabric8.kubernetes.api.model.LocalObjectReference pullSecret)
pullSecret
- the given pullSecret to compare the actual CustomBuildStrategyFluent's pullSecret to.AssertionError
- - if the actual CustomBuildStrategyFluent's pullSecret is not equal to the given one.public S hasSecrets(io.fabric8.openshift.api.model.SecretSpec... secrets)
secrets
- the given elements that should be contained in actual CustomBuildStrategyFluent's secrets.AssertionError
- if the actual CustomBuildStrategyFluent's secrets does not contain all given SecretSpec elements.public S hasOnlySecrets(io.fabric8.openshift.api.model.SecretSpec... secrets)
secrets
- the given elements that should be contained in actual CustomBuildStrategyFluent's secrets.AssertionError
- if the actual CustomBuildStrategyFluent's secrets does not contain all given SecretSpec elements.public S doesNotHaveSecrets(io.fabric8.openshift.api.model.SecretSpec... secrets)
secrets
- the given elements that should not be in actual CustomBuildStrategyFluent's secrets.AssertionError
- if the actual CustomBuildStrategyFluent's secrets contains any given SecretSpec elements.public S hasNoSecrets()
AssertionError
- if the actual CustomBuildStrategyFluent's secrets is not empty.Copyright © 2011–2016 Red Hat. All rights reserved.