public abstract class AbstractContainerImageAssert<S extends AbstractContainerImageAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ContainerImage>
extends org.assertj.core.api.AbstractAssert<S,A>
ContainerImage
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractContainerImageAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ContainerImage. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveRepoTags(String... repoTags)
Verifies that the actual ContainerImage's repoTags does not contain the given String elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ContainerImage's additionalProperties is equal to the given one.
|
S |
hasNoRepoTags()
Verifies that the actual ContainerImage has no repoTags.
|
S |
hasOnlyRepoTags(String... repoTags)
Verifies that the actual ContainerImage's repoTags contains only the given String elements and nothing else in whatever order.
|
S |
hasRepoTags(String... repoTags)
Verifies that the actual ContainerImage's repoTags contains the given String elements.
|
S |
hasSize(Long size)
Verifies that the actual ContainerImage's size 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 AbstractContainerImageAssert(A actual, Class<S> selfType)
AbstractContainerImageAssert
to make assertions on actual ContainerImage.actual
- the ContainerImage we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ContainerImage's additionalProperties to.AssertionError
- - if the actual ContainerImage's additionalProperties is not equal to the given one.public S hasRepoTags(String... repoTags)
repoTags
- the given elements that should be contained in actual ContainerImage's repoTags.AssertionError
- if the actual ContainerImage's repoTags does not contain all given String elements.public S hasOnlyRepoTags(String... repoTags)
repoTags
- the given elements that should be contained in actual ContainerImage's repoTags.AssertionError
- if the actual ContainerImage's repoTags does not contain all given String elements.public S doesNotHaveRepoTags(String... repoTags)
repoTags
- the given elements that should not be in actual ContainerImage's repoTags.AssertionError
- if the actual ContainerImage's repoTags contains any given String elements.public S hasNoRepoTags()
AssertionError
- if the actual ContainerImage's repoTags is not empty.public S hasSize(Long size)
size
- the given size to compare the actual ContainerImage's size to.AssertionError
- - if the actual ContainerImage's size is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.