public abstract class AbstractServiceAccountFluentImplAssert<S extends AbstractServiceAccountFluentImplAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ServiceAccountFluentImpl>
extends org.assertj.core.api.AbstractAssert<S,A>
ServiceAccountFluentImpl
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractServiceAccountFluentImplAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ServiceAccountFluentImpl. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveImagePullSecrets(io.fabric8.kubernetes.api.model.LocalObjectReference... imagePullSecrets)
Verifies that the actual ServiceAccountFluentImpl's imagePullSecrets does not contain the given LocalObjectReference elements.
|
S |
doesNotHaveSecrets(io.fabric8.kubernetes.api.model.ObjectReference... secrets)
Verifies that the actual ServiceAccountFluentImpl's secrets does not contain the given ObjectReference elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ServiceAccountFluentImpl's additionalProperties is equal to the given one.
|
S |
hasApiVersion(io.fabric8.kubernetes.api.model.ServiceAccount.ApiVersion apiVersion)
Verifies that the actual ServiceAccountFluentImpl's apiVersion is equal to the given one.
|
S |
hasImagePullSecrets(io.fabric8.kubernetes.api.model.LocalObjectReference... imagePullSecrets)
Verifies that the actual ServiceAccountFluentImpl's imagePullSecrets contains the given LocalObjectReference elements.
|
S |
hasKind(String kind)
Verifies that the actual ServiceAccountFluentImpl's kind is equal to the given one.
|
S |
hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
Verifies that the actual ServiceAccountFluentImpl's metadata is equal to the given one.
|
S |
hasNoImagePullSecrets()
Verifies that the actual ServiceAccountFluentImpl has no imagePullSecrets.
|
S |
hasNoSecrets()
Verifies that the actual ServiceAccountFluentImpl has no secrets.
|
S |
hasOnlyImagePullSecrets(io.fabric8.kubernetes.api.model.LocalObjectReference... imagePullSecrets)
Verifies that the actual ServiceAccountFluentImpl's imagePullSecrets contains only the given LocalObjectReference elements and nothing else in whatever order.
|
S |
hasOnlySecrets(io.fabric8.kubernetes.api.model.ObjectReference... secrets)
Verifies that the actual ServiceAccountFluentImpl's secrets contains only the given ObjectReference elements and nothing else in whatever order.
|
S |
hasSecrets(io.fabric8.kubernetes.api.model.ObjectReference... secrets)
Verifies that the actual ServiceAccountFluentImpl's secrets contains the given ObjectReference 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 AbstractServiceAccountFluentImplAssert(A actual, Class<S> selfType)
AbstractServiceAccountFluentImplAssert
to make assertions on actual ServiceAccountFluentImpl.actual
- the ServiceAccountFluentImpl we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ServiceAccountFluentImpl's additionalProperties to.AssertionError
- - if the actual ServiceAccountFluentImpl's additionalProperties is not equal to the given one.public S hasApiVersion(io.fabric8.kubernetes.api.model.ServiceAccount.ApiVersion apiVersion)
apiVersion
- the given apiVersion to compare the actual ServiceAccountFluentImpl's apiVersion to.AssertionError
- - if the actual ServiceAccountFluentImpl's apiVersion is not equal to the given one.public S hasImagePullSecrets(io.fabric8.kubernetes.api.model.LocalObjectReference... imagePullSecrets)
imagePullSecrets
- the given elements that should be contained in actual ServiceAccountFluentImpl's imagePullSecrets.AssertionError
- if the actual ServiceAccountFluentImpl's imagePullSecrets does not contain all given LocalObjectReference elements.public S hasOnlyImagePullSecrets(io.fabric8.kubernetes.api.model.LocalObjectReference... imagePullSecrets)
imagePullSecrets
- the given elements that should be contained in actual ServiceAccountFluentImpl's imagePullSecrets.AssertionError
- if the actual ServiceAccountFluentImpl's imagePullSecrets does not contain all given LocalObjectReference elements.public S doesNotHaveImagePullSecrets(io.fabric8.kubernetes.api.model.LocalObjectReference... imagePullSecrets)
imagePullSecrets
- the given elements that should not be in actual ServiceAccountFluentImpl's imagePullSecrets.AssertionError
- if the actual ServiceAccountFluentImpl's imagePullSecrets contains any given LocalObjectReference elements.public S hasNoImagePullSecrets()
AssertionError
- if the actual ServiceAccountFluentImpl's imagePullSecrets is not empty.public S hasKind(String kind)
kind
- the given kind to compare the actual ServiceAccountFluentImpl's kind to.AssertionError
- - if the actual ServiceAccountFluentImpl's kind 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 ServiceAccountFluentImpl's metadata to.AssertionError
- - if the actual ServiceAccountFluentImpl's metadata is not equal to the given one.public S hasSecrets(io.fabric8.kubernetes.api.model.ObjectReference... secrets)
secrets
- the given elements that should be contained in actual ServiceAccountFluentImpl's secrets.AssertionError
- if the actual ServiceAccountFluentImpl's secrets does not contain all given ObjectReference elements.public S hasOnlySecrets(io.fabric8.kubernetes.api.model.ObjectReference... secrets)
secrets
- the given elements that should be contained in actual ServiceAccountFluentImpl's secrets.AssertionError
- if the actual ServiceAccountFluentImpl's secrets does not contain all given ObjectReference elements.public S doesNotHaveSecrets(io.fabric8.kubernetes.api.model.ObjectReference... secrets)
secrets
- the given elements that should not be in actual ServiceAccountFluentImpl's secrets.AssertionError
- if the actual ServiceAccountFluentImpl's secrets contains any given ObjectReference elements.public S hasNoSecrets()
AssertionError
- if the actual ServiceAccountFluentImpl's secrets is not empty.Copyright © 2011–2015 Red Hat. All rights reserved.