public abstract class AbstractComponentStatusFluentAssert<S extends AbstractComponentStatusFluentAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ComponentStatusFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
ComponentStatusFluent
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractComponentStatusFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ComponentStatusFluent. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveConditions(io.fabric8.kubernetes.api.model.ComponentCondition... conditions)
Verifies that the actual ComponentStatusFluent's conditions does not contain the given ComponentCondition elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ComponentStatusFluent's additionalProperties is equal to the given one.
|
S |
hasApiVersion(io.fabric8.kubernetes.api.model.ComponentStatus.ApiVersion apiVersion)
Verifies that the actual ComponentStatusFluent's apiVersion is equal to the given one.
|
S |
hasConditions(io.fabric8.kubernetes.api.model.ComponentCondition... conditions)
Verifies that the actual ComponentStatusFluent's conditions contains the given ComponentCondition elements.
|
S |
hasKind(String kind)
Verifies that the actual ComponentStatusFluent's kind is equal to the given one.
|
S |
hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
Verifies that the actual ComponentStatusFluent's metadata is equal to the given one.
|
S |
hasNoConditions()
Verifies that the actual ComponentStatusFluent has no conditions.
|
S |
hasOnlyConditions(io.fabric8.kubernetes.api.model.ComponentCondition... conditions)
Verifies that the actual ComponentStatusFluent's conditions contains only the given ComponentCondition elements and nothing else in whatever order.
|
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 AbstractComponentStatusFluentAssert(A actual, Class<S> selfType)
AbstractComponentStatusFluentAssert
to make assertions on actual ComponentStatusFluent.actual
- the ComponentStatusFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ComponentStatusFluent's additionalProperties to.AssertionError
- - if the actual ComponentStatusFluent's additionalProperties is not equal to the given one.public S hasApiVersion(io.fabric8.kubernetes.api.model.ComponentStatus.ApiVersion apiVersion)
apiVersion
- the given apiVersion to compare the actual ComponentStatusFluent's apiVersion to.AssertionError
- - if the actual ComponentStatusFluent's apiVersion is not equal to the given one.public S hasConditions(io.fabric8.kubernetes.api.model.ComponentCondition... conditions)
conditions
- the given elements that should be contained in actual ComponentStatusFluent's conditions.AssertionError
- if the actual ComponentStatusFluent's conditions does not contain all given ComponentCondition elements.public S hasOnlyConditions(io.fabric8.kubernetes.api.model.ComponentCondition... conditions)
conditions
- the given elements that should be contained in actual ComponentStatusFluent's conditions.AssertionError
- if the actual ComponentStatusFluent's conditions does not contain all given ComponentCondition elements.public S doesNotHaveConditions(io.fabric8.kubernetes.api.model.ComponentCondition... conditions)
conditions
- the given elements that should not be in actual ComponentStatusFluent's conditions.AssertionError
- if the actual ComponentStatusFluent's conditions contains any given ComponentCondition elements.public S hasNoConditions()
AssertionError
- if the actual ComponentStatusFluent's conditions is not empty.public S hasKind(String kind)
kind
- the given kind to compare the actual ComponentStatusFluent's kind to.AssertionError
- - if the actual ComponentStatusFluent's kind is not equal to the given one.public S hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
metadata
- the given metadata to compare the actual ComponentStatusFluent's metadata to.AssertionError
- - if the actual ComponentStatusFluent's metadata is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.