public abstract class AbstractTemplateAssert<S extends AbstractTemplateAssert<S,A>,A extends io.fabric8.kubernetes.api.model.Template>
extends org.assertj.core.api.AbstractAssert<S,A>
Template
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractTemplateAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual Template. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual Template's additionalProperties is equal to the given one.
|
S |
hasDescription(String description)
Verifies that the actual Template's description is equal to the given one.
|
S |
hasId(String id)
Verifies that the actual Template's id is equal to the given one.
|
S |
hasItems(io.fabric8.kubernetes.api.model.Item_... items)
Verifies that the actual Template's items contains the given Item_ elements.
|
S |
hasKind(String kind)
Verifies that the actual Template's kind is equal to the given one.
|
S |
hasName(String name)
Verifies that the actual Template's name is equal to the given one.
|
S |
hasNoItems()
Verifies that the actual Template has no items.
|
S |
hasNoParameters()
Verifies that the actual Template has no parameters.
|
S |
hasParameters(io.fabric8.kubernetes.api.model.Parameter... parameters)
Verifies that the actual Template'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 AbstractTemplateAssert(A actual, Class<S> selfType)
AbstractTemplateAssert
to make assertions on actual Template.actual
- the Template we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual Template's additionalProperties to.AssertionError
- - if the actual Template's additionalProperties is not equal to the given one.public S hasDescription(String description)
description
- the given description to compare the actual Template's description to.AssertionError
- - if the actual Template's description is not equal to the given one.public S hasId(String id)
id
- the given id to compare the actual Template's id to.AssertionError
- - if the actual Template's id is not equal to the given one.public S hasItems(io.fabric8.kubernetes.api.model.Item_... items)
items
- the given elements that should be contained in actual Template's items.AssertionError
- if the actual Template's items does not contain all given Item_ elements.public S hasNoItems()
AssertionError
- if the actual Template's items is not empty.public S hasKind(String kind)
kind
- the given kind to compare the actual Template's kind to.AssertionError
- - if the actual Template's kind is not equal to the given one.public S hasName(String name)
name
- the given name to compare the actual Template's name to.AssertionError
- - if the actual Template's name is not equal to the given one.public S hasParameters(io.fabric8.kubernetes.api.model.Parameter... parameters)
parameters
- the given elements that should be contained in actual Template's parameters.AssertionError
- if the actual Template's parameters does not contain all given Parameter elements.public S hasNoParameters()
AssertionError
- if the actual Template's parameters is not empty.Copyright © 2011–2014 Red Hat. All rights reserved.