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