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