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 |
doesNotHaveNames(String... names)
Verifies that the actual ContainerImage's names 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 |
hasNames(String... names)
Verifies that the actual ContainerImage's names contains the given String elements.
|
S |
hasNoNames()
Verifies that the actual ContainerImage has no names.
|
S |
hasOnlyNames(String... names)
Verifies that the actual ContainerImage's names contains only the given String elements and nothing else in whatever order.
|
S |
hasSizeBytes(Long sizeBytes)
Verifies that the actual ContainerImage's sizeBytes 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 hasNames(String... names)
names
- the given elements that should be contained in actual ContainerImage's names.AssertionError
- if the actual ContainerImage's names does not contain all given String elements.public S hasOnlyNames(String... names)
names
- the given elements that should be contained in actual ContainerImage's names.AssertionError
- if the actual ContainerImage's names does not contain all given String elements.public S doesNotHaveNames(String... names)
names
- the given elements that should not be in actual ContainerImage's names.AssertionError
- if the actual ContainerImage's names contains any given String elements.public S hasNoNames()
AssertionError
- if the actual ContainerImage's names is not empty.public S hasSizeBytes(Long sizeBytes)
sizeBytes
- the given sizeBytes to compare the actual ContainerImage's sizeBytes to.AssertionError
- - if the actual ContainerImage's sizeBytes is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.