public abstract class AbstractContextFluentAssert<S extends AbstractContextFluentAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ContextFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
ContextFluent
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractContextFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ContextFluent. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ContextFluent's additionalProperties is equal to the given one.
|
S |
hasCluster(String cluster)
Verifies that the actual ContextFluent's cluster is equal to the given one.
|
S |
hasExtensions(io.fabric8.kubernetes.api.model.NamedExtension... extensions)
Verifies that the actual ContextFluent's extensions contains the given NamedExtension elements.
|
S |
hasNamespace(String namespace)
Verifies that the actual ContextFluent's namespace is equal to the given one.
|
S |
hasNoExtensions()
Verifies that the actual ContextFluent has no extensions.
|
S |
hasUser(String user)
Verifies that the actual ContextFluent's user 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 AbstractContextFluentAssert(A actual, Class<S> selfType)
AbstractContextFluentAssert
to make assertions on actual ContextFluent.actual
- the ContextFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ContextFluent's additionalProperties to.AssertionError
- - if the actual ContextFluent's additionalProperties is not equal to the given one.public S hasCluster(String cluster)
cluster
- the given cluster to compare the actual ContextFluent's cluster to.AssertionError
- - if the actual ContextFluent's cluster 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 ContextFluent's extensions.AssertionError
- if the actual ContextFluent's extensions does not contain all given NamedExtension elements.public S hasNoExtensions()
AssertionError
- if the actual ContextFluent's extensions is not empty.public S hasNamespace(String namespace)
namespace
- the given namespace to compare the actual ContextFluent's namespace to.AssertionError
- - if the actual ContextFluent's namespace is not equal to the given one.public S hasUser(String user)
user
- the given user to compare the actual ContextFluent's user to.AssertionError
- - if the actual ContextFluent's user is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.