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 |
hasApiVersion(String apiVersion)
Verifies that the actual Config's apiVersion is equal to the given one.
|
S |
hasClusters(io.fabric8.kubernetes.api.model.NamedCluster... clusters)
Verifies that the actual Config's clusters contains the given NamedCluster elements.
|
S |
hasContexts(io.fabric8.kubernetes.api.model.NamedContext... contexts)
Verifies that the actual Config's contexts contains the given NamedContext elements.
|
S |
hasCurrentContext(String currentContext)
Verifies that the actual Config's currentContext is equal to the given one.
|
S |
hasExtensions(io.fabric8.kubernetes.api.model.NamedExtension... extensions)
Verifies that the actual Config's extensions contains the given NamedExtension elements.
|
S |
hasKind(String kind)
Verifies that the actual Config's kind is equal to the given one.
|
S |
hasNoClusters()
Verifies that the actual Config has no clusters.
|
S |
hasNoContexts()
Verifies that the actual Config has no contexts.
|
S |
hasNoExtensions()
Verifies that the actual Config has no extensions.
|
S |
hasNoUsers()
Verifies that the actual Config has no users.
|
S |
hasPreferences(io.fabric8.kubernetes.api.model.Preferences preferences)
Verifies that the actual Config's preferences is equal to the given one.
|
S |
hasUsers(io.fabric8.kubernetes.api.model.NamedAuthInfo... users)
Verifies that the actual Config's users contains the given NamedAuthInfo 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 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 hasApiVersion(String apiVersion)
apiVersion
- the given apiVersion to compare the actual Config's apiVersion to.AssertionError
- - if the actual Config's apiVersion is not equal to the given one.public S hasClusters(io.fabric8.kubernetes.api.model.NamedCluster... clusters)
clusters
- the given elements that should be contained in actual Config's clusters.AssertionError
- if the actual Config's clusters does not contain all given NamedCluster elements.public S hasNoClusters()
AssertionError
- if the actual Config's clusters is not empty.public S hasContexts(io.fabric8.kubernetes.api.model.NamedContext... contexts)
contexts
- the given elements that should be contained in actual Config's contexts.AssertionError
- if the actual Config's contexts does not contain all given NamedContext elements.public S hasNoContexts()
AssertionError
- if the actual Config's contexts is not empty.public S hasCurrentContext(String currentContext)
currentContext
- the given currentContext to compare the actual Config's currentContext to.AssertionError
- - if the actual Config's currentContext is not equal to the given one.public S hasExtensions(io.fabric8.kubernetes.api.model.NamedExtension... extensions)
extensions
- the given elements that should be contained in actual Config's extensions.AssertionError
- if the actual Config's extensions does not contain all given NamedExtension elements.public S hasNoExtensions()
AssertionError
- if the actual Config's extensions 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 hasPreferences(io.fabric8.kubernetes.api.model.Preferences preferences)
preferences
- the given preferences to compare the actual Config's preferences to.AssertionError
- - if the actual Config's preferences is not equal to the given one.public S hasUsers(io.fabric8.kubernetes.api.model.NamedAuthInfo... users)
users
- the given elements that should be contained in actual Config's users.AssertionError
- if the actual Config's users does not contain all given NamedAuthInfo elements.public S hasNoUsers()
AssertionError
- if the actual Config's users is not empty.Copyright © 2011–2015 Red Hat. All rights reserved.