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