public abstract class AbstractImageSourceAssert<S extends AbstractImageSourceAssert<S,A>,A extends io.fabric8.openshift.api.model.ImageSource>
extends org.assertj.core.api.AbstractAssert<S,A>
ImageSource
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractImageSourceAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ImageSource. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHavePaths(io.fabric8.openshift.api.model.ImageSourcePath... paths)
Verifies that the actual ImageSource's paths does not contain the given ImageSourcePath elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ImageSource's additionalProperties is equal to the given one.
|
S |
hasFrom(io.fabric8.kubernetes.api.model.ObjectReference from)
Verifies that the actual ImageSource's from is equal to the given one.
|
S |
hasNoPaths()
Verifies that the actual ImageSource has no paths.
|
S |
hasOnlyPaths(io.fabric8.openshift.api.model.ImageSourcePath... paths)
Verifies that the actual ImageSource's paths contains only the given ImageSourcePath elements and nothing else in whatever order.
|
S |
hasPaths(io.fabric8.openshift.api.model.ImageSourcePath... paths)
Verifies that the actual ImageSource's paths contains the given ImageSourcePath elements.
|
S |
hasPullSecret(io.fabric8.kubernetes.api.model.LocalObjectReference pullSecret)
Verifies that the actual ImageSource's pullSecret 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 AbstractImageSourceAssert(A actual, Class<S> selfType)
AbstractImageSourceAssert
to make assertions on actual ImageSource.actual
- the ImageSource we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ImageSource's additionalProperties to.AssertionError
- - if the actual ImageSource's additionalProperties is not equal to the given one.public S hasFrom(io.fabric8.kubernetes.api.model.ObjectReference from)
from
- the given from to compare the actual ImageSource's from to.AssertionError
- - if the actual ImageSource's from is not equal to the given one.public S hasPaths(io.fabric8.openshift.api.model.ImageSourcePath... paths)
paths
- the given elements that should be contained in actual ImageSource's paths.AssertionError
- if the actual ImageSource's paths does not contain all given ImageSourcePath elements.public S hasOnlyPaths(io.fabric8.openshift.api.model.ImageSourcePath... paths)
paths
- the given elements that should be contained in actual ImageSource's paths.AssertionError
- if the actual ImageSource's paths does not contain all given ImageSourcePath elements.public S doesNotHavePaths(io.fabric8.openshift.api.model.ImageSourcePath... paths)
paths
- the given elements that should not be in actual ImageSource's paths.AssertionError
- if the actual ImageSource's paths contains any given ImageSourcePath elements.public S hasNoPaths()
AssertionError
- if the actual ImageSource's paths is not empty.public S hasPullSecret(io.fabric8.kubernetes.api.model.LocalObjectReference pullSecret)
pullSecret
- the given pullSecret to compare the actual ImageSource's pullSecret to.AssertionError
- - if the actual ImageSource's pullSecret is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.