public abstract class AbstractTemplateFluentAssert<S extends AbstractTemplateFluentAssert<S,A>,A extends io.fabric8.openshift.api.model.TemplateFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
TemplateFluent
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractTemplateFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual TemplateFluent. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveObjects(io.fabric8.kubernetes.api.model.HasMetadata... objects)
Verifies that the actual TemplateFluent's objects does not contain the given io.fabric8.kubernetes.api.model.HasMetadata elements.
|
S |
doesNotHaveParameters(io.fabric8.openshift.api.model.Parameter... parameters)
Verifies that the actual TemplateFluent's parameters does not contain the given Parameter elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual TemplateFluent's additionalProperties is equal to the given one.
|
S |
hasApiVersion(io.fabric8.openshift.api.model.Template.ApiVersion apiVersion)
Verifies that the actual TemplateFluent's apiVersion is equal to the given one.
|
S |
hasKind(String kind)
Verifies that the actual TemplateFluent's kind is equal to the given one.
|
S |
hasLabels(Map labels)
Verifies that the actual TemplateFluent's labels is equal to the given one.
|
S |
hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
Verifies that the actual TemplateFluent's metadata is equal to the given one.
|
S |
hasNoObjects()
Verifies that the actual TemplateFluent has no objects.
|
S |
hasNoParameters()
Verifies that the actual TemplateFluent has no parameters.
|
S |
hasObjects(io.fabric8.kubernetes.api.model.HasMetadata... objects)
Verifies that the actual TemplateFluent's objects contains the given io.fabric8.kubernetes.api.model.HasMetadata elements.
|
S |
hasOnlyObjects(io.fabric8.kubernetes.api.model.HasMetadata... objects)
Verifies that the actual TemplateFluent's objects contains only the given io.fabric8.kubernetes.api.model.HasMetadata elements and nothing else in whatever order.
|
S |
hasOnlyParameters(io.fabric8.openshift.api.model.Parameter... parameters)
Verifies that the actual TemplateFluent's parameters contains only the given Parameter elements and nothing else in whatever order.
|
S |
hasParameters(io.fabric8.openshift.api.model.Parameter... parameters)
Verifies that the actual TemplateFluent's parameters contains the given Parameter 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 AbstractTemplateFluentAssert(A actual, Class<S> selfType)
AbstractTemplateFluentAssert
to make assertions on actual TemplateFluent.actual
- the TemplateFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual TemplateFluent's additionalProperties to.AssertionError
- - if the actual TemplateFluent's additionalProperties is not equal to the given one.public S hasApiVersion(io.fabric8.openshift.api.model.Template.ApiVersion apiVersion)
apiVersion
- the given apiVersion to compare the actual TemplateFluent's apiVersion to.AssertionError
- - if the actual TemplateFluent's apiVersion is not equal to the given one.public S hasKind(String kind)
kind
- the given kind to compare the actual TemplateFluent's kind to.AssertionError
- - if the actual TemplateFluent's kind is not equal to the given one.public S hasLabels(Map labels)
labels
- the given labels to compare the actual TemplateFluent's labels to.AssertionError
- - if the actual TemplateFluent's labels 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 TemplateFluent's metadata to.AssertionError
- - if the actual TemplateFluent's metadata is not equal to the given one.public S hasObjects(io.fabric8.kubernetes.api.model.HasMetadata... objects)
objects
- the given elements that should be contained in actual TemplateFluent's objects.AssertionError
- if the actual TemplateFluent's objects does not contain all given io.fabric8.kubernetes.api.model.HasMetadata elements.public S hasOnlyObjects(io.fabric8.kubernetes.api.model.HasMetadata... objects)
objects
- the given elements that should be contained in actual TemplateFluent's objects.AssertionError
- if the actual TemplateFluent's objects does not contain all given io.fabric8.kubernetes.api.model.HasMetadata elements.public S doesNotHaveObjects(io.fabric8.kubernetes.api.model.HasMetadata... objects)
objects
- the given elements that should not be in actual TemplateFluent's objects.AssertionError
- if the actual TemplateFluent's objects contains any given io.fabric8.kubernetes.api.model.HasMetadata elements.public S hasNoObjects()
AssertionError
- if the actual TemplateFluent's objects is not empty.public S hasParameters(io.fabric8.openshift.api.model.Parameter... parameters)
parameters
- the given elements that should be contained in actual TemplateFluent's parameters.AssertionError
- if the actual TemplateFluent's parameters does not contain all given Parameter elements.public S hasOnlyParameters(io.fabric8.openshift.api.model.Parameter... parameters)
parameters
- the given elements that should be contained in actual TemplateFluent's parameters.AssertionError
- if the actual TemplateFluent's parameters does not contain all given Parameter elements.public S doesNotHaveParameters(io.fabric8.openshift.api.model.Parameter... parameters)
parameters
- the given elements that should not be in actual TemplateFluent's parameters.AssertionError
- if the actual TemplateFluent's parameters contains any given Parameter elements.public S hasNoParameters()
AssertionError
- if the actual TemplateFluent's parameters is not empty.Copyright © 2011–2016 Red Hat. All rights reserved.