public abstract class AbstractImageFluentAssert<S extends AbstractImageFluentAssert<S,A>,A extends io.fabric8.openshift.api.model.ImageFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
ImageFluent
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractImageFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ImageFluent. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveDockerImageLayers(io.fabric8.openshift.api.model.ImageLayer... dockerImageLayers)
Verifies that the actual ImageFluent's dockerImageLayers does not contain the given ImageLayer elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ImageFluent's additionalProperties is equal to the given one.
|
S |
hasApiVersion(String apiVersion)
Verifies that the actual ImageFluent's apiVersion is equal to the given one.
|
S |
hasDockerImageLayers(io.fabric8.openshift.api.model.ImageLayer... dockerImageLayers)
Verifies that the actual ImageFluent's dockerImageLayers contains the given ImageLayer elements.
|
S |
hasDockerImageManifest(String dockerImageManifest)
Verifies that the actual ImageFluent's dockerImageManifest is equal to the given one.
|
S |
hasDockerImageMetadata(io.fabric8.kubernetes.api.model.HasMetadata dockerImageMetadata)
Verifies that the actual ImageFluent's dockerImageMetadata is equal to the given one.
|
S |
hasDockerImageMetadataVersion(String dockerImageMetadataVersion)
Verifies that the actual ImageFluent's dockerImageMetadataVersion is equal to the given one.
|
S |
hasDockerImageReference(String dockerImageReference)
Verifies that the actual ImageFluent's dockerImageReference is equal to the given one.
|
S |
hasKind(String kind)
Verifies that the actual ImageFluent's kind is equal to the given one.
|
S |
hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
Verifies that the actual ImageFluent's metadata is equal to the given one.
|
S |
hasNoDockerImageLayers()
Verifies that the actual ImageFluent has no dockerImageLayers.
|
S |
hasOnlyDockerImageLayers(io.fabric8.openshift.api.model.ImageLayer... dockerImageLayers)
Verifies that the actual ImageFluent's dockerImageLayers contains only the given ImageLayer 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 AbstractImageFluentAssert(A actual, Class<S> selfType)
AbstractImageFluentAssert
to make assertions on actual ImageFluent.actual
- the ImageFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ImageFluent's additionalProperties to.AssertionError
- - if the actual ImageFluent's additionalProperties is not equal to the given one.public S hasApiVersion(String apiVersion)
apiVersion
- the given apiVersion to compare the actual ImageFluent's apiVersion to.AssertionError
- - if the actual ImageFluent's apiVersion is not equal to the given one.public S hasDockerImageLayers(io.fabric8.openshift.api.model.ImageLayer... dockerImageLayers)
dockerImageLayers
- the given elements that should be contained in actual ImageFluent's dockerImageLayers.AssertionError
- if the actual ImageFluent's dockerImageLayers does not contain all given ImageLayer elements.public S hasOnlyDockerImageLayers(io.fabric8.openshift.api.model.ImageLayer... dockerImageLayers)
dockerImageLayers
- the given elements that should be contained in actual ImageFluent's dockerImageLayers.AssertionError
- if the actual ImageFluent's dockerImageLayers does not contain all given ImageLayer elements.public S doesNotHaveDockerImageLayers(io.fabric8.openshift.api.model.ImageLayer... dockerImageLayers)
dockerImageLayers
- the given elements that should not be in actual ImageFluent's dockerImageLayers.AssertionError
- if the actual ImageFluent's dockerImageLayers contains any given ImageLayer elements.public S hasNoDockerImageLayers()
AssertionError
- if the actual ImageFluent's dockerImageLayers is not empty.public S hasDockerImageManifest(String dockerImageManifest)
dockerImageManifest
- the given dockerImageManifest to compare the actual ImageFluent's dockerImageManifest to.AssertionError
- - if the actual ImageFluent's dockerImageManifest is not equal to the given one.public S hasDockerImageMetadata(io.fabric8.kubernetes.api.model.HasMetadata dockerImageMetadata)
dockerImageMetadata
- the given dockerImageMetadata to compare the actual ImageFluent's dockerImageMetadata to.AssertionError
- - if the actual ImageFluent's dockerImageMetadata is not equal to the given one.public S hasDockerImageMetadataVersion(String dockerImageMetadataVersion)
dockerImageMetadataVersion
- the given dockerImageMetadataVersion to compare the actual ImageFluent's dockerImageMetadataVersion to.AssertionError
- - if the actual ImageFluent's dockerImageMetadataVersion is not equal to the given one.public S hasDockerImageReference(String dockerImageReference)
dockerImageReference
- the given dockerImageReference to compare the actual ImageFluent's dockerImageReference to.AssertionError
- - if the actual ImageFluent's dockerImageReference is not equal to the given one.public S hasKind(String kind)
kind
- the given kind to compare the actual ImageFluent's kind to.AssertionError
- - if the actual ImageFluent'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 ImageFluent's metadata to.AssertionError
- - if the actual ImageFluent's metadata is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.