public abstract class AbstractPodTemplateAssert<S extends AbstractPodTemplateAssert<S,A>,A extends io.fabric8.kubernetes.api.model.PodTemplate>
extends org.assertj.core.api.AbstractAssert<S,A>
PodTemplate
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractPodTemplateAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual PodTemplate. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual PodTemplate's additionalProperties is equal to the given one.
|
S |
hasAnnotations(Map annotations)
Verifies that the actual PodTemplate's annotations is equal to the given one.
|
S |
hasDesiredState(io.fabric8.kubernetes.api.model.PodState desiredState)
Verifies that the actual PodTemplate's desiredState is equal to the given one.
|
S |
hasLabels(Map labels)
Verifies that the actual PodTemplate's labels is equal to the given one.
|
S |
hasNodeSelector(Map nodeSelector)
Verifies that the actual PodTemplate's nodeSelector 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 AbstractPodTemplateAssert(A actual, Class<S> selfType)
AbstractPodTemplateAssert
to make assertions on actual PodTemplate.actual
- the PodTemplate we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual PodTemplate's additionalProperties to.AssertionError
- - if the actual PodTemplate's additionalProperties is not equal to the given one.public S hasAnnotations(Map annotations)
annotations
- the given annotations to compare the actual PodTemplate's annotations to.AssertionError
- - if the actual PodTemplate's annotations is not equal to the given one.public S hasDesiredState(io.fabric8.kubernetes.api.model.PodState desiredState)
desiredState
- the given desiredState to compare the actual PodTemplate's desiredState to.AssertionError
- - if the actual PodTemplate's desiredState is not equal to the given one.public S hasLabels(Map labels)
labels
- the given labels to compare the actual PodTemplate's labels to.AssertionError
- - if the actual PodTemplate's labels is not equal to the given one.public S hasNodeSelector(Map nodeSelector)
nodeSelector
- the given nodeSelector to compare the actual PodTemplate's nodeSelector to.AssertionError
- - if the actual PodTemplate's nodeSelector is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.