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