public abstract class AbstractJobSpecAssert<S extends AbstractJobSpecAssert<S,A>,A extends io.fabric8.kubernetes.api.model.extensions.JobSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
JobSpec
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractJobSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual JobSpec. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual JobSpec's additionalProperties is equal to the given one.
|
S |
hasCompletions(Integer completions)
Verifies that the actual JobSpec's completions is equal to the given one.
|
S |
hasParallelism(Integer parallelism)
Verifies that the actual JobSpec's parallelism is equal to the given one.
|
S |
hasSelector(io.fabric8.kubernetes.api.model.extensions.PodSelector selector)
Verifies that the actual JobSpec's selector is equal to the given one.
|
S |
hasTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template)
Verifies that the actual JobSpec's template is equal to the given one.
|
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 AbstractJobSpecAssert(A actual, Class<S> selfType)
AbstractJobSpecAssert
to make assertions on actual JobSpec.actual
- the JobSpec we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual JobSpec's additionalProperties to.AssertionError
- - if the actual JobSpec's additionalProperties is not equal to the given one.public S hasCompletions(Integer completions)
completions
- the given completions to compare the actual JobSpec's completions to.AssertionError
- - if the actual JobSpec's completions is not equal to the given one.public S hasParallelism(Integer parallelism)
parallelism
- the given parallelism to compare the actual JobSpec's parallelism to.AssertionError
- - if the actual JobSpec's parallelism is not equal to the given one.public S hasSelector(io.fabric8.kubernetes.api.model.extensions.PodSelector selector)
selector
- the given selector to compare the actual JobSpec's selector to.AssertionError
- - if the actual JobSpec's selector is not equal to the given one.public S hasTemplate(io.fabric8.kubernetes.api.model.PodTemplateSpec template)
template
- the given template to compare the actual JobSpec's template to.AssertionError
- - if the actual JobSpec's template is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.