public abstract class AbstractOAuthAccessTokenFluentAssert<S extends AbstractOAuthAccessTokenFluentAssert<S,A>,A extends io.fabric8.openshift.api.model.OAuthAccessTokenFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
OAuthAccessTokenFluent
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractOAuthAccessTokenFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual OAuthAccessTokenFluent. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveScopes(String... scopes)
Verifies that the actual OAuthAccessTokenFluent's scopes does not contain the given String elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual OAuthAccessTokenFluent's additionalProperties is equal to the given one.
|
S |
hasApiVersion(io.fabric8.openshift.api.model.OAuthAccessToken.ApiVersion apiVersion)
Verifies that the actual OAuthAccessTokenFluent's apiVersion is equal to the given one.
|
S |
hasAuthorizeToken(String authorizeToken)
Verifies that the actual OAuthAccessTokenFluent's authorizeToken is equal to the given one.
|
S |
hasClientName(String clientName)
Verifies that the actual OAuthAccessTokenFluent's clientName is equal to the given one.
|
S |
hasExpiresIn(Long expiresIn)
Verifies that the actual OAuthAccessTokenFluent's expiresIn is equal to the given one.
|
S |
hasKind(String kind)
Verifies that the actual OAuthAccessTokenFluent's kind is equal to the given one.
|
S |
hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
Verifies that the actual OAuthAccessTokenFluent's metadata is equal to the given one.
|
S |
hasNoScopes()
Verifies that the actual OAuthAccessTokenFluent has no scopes.
|
S |
hasOnlyScopes(String... scopes)
Verifies that the actual OAuthAccessTokenFluent's scopes contains only the given String elements and nothing else in whatever order.
|
S |
hasRedirectURI(String redirectURI)
Verifies that the actual OAuthAccessTokenFluent's redirectURI is equal to the given one.
|
S |
hasRefreshToken(String refreshToken)
Verifies that the actual OAuthAccessTokenFluent's refreshToken is equal to the given one.
|
S |
hasScopes(String... scopes)
Verifies that the actual OAuthAccessTokenFluent's scopes contains the given String elements.
|
S |
hasUserName(String userName)
Verifies that the actual OAuthAccessTokenFluent's userName is equal to the given one.
|
S |
hasUserUID(String userUID)
Verifies that the actual OAuthAccessTokenFluent's userUID 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 AbstractOAuthAccessTokenFluentAssert(A actual, Class<S> selfType)
AbstractOAuthAccessTokenFluentAssert
to make assertions on actual OAuthAccessTokenFluent.actual
- the OAuthAccessTokenFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual OAuthAccessTokenFluent's additionalProperties to.AssertionError
- - if the actual OAuthAccessTokenFluent's additionalProperties is not equal to the given one.public S hasApiVersion(io.fabric8.openshift.api.model.OAuthAccessToken.ApiVersion apiVersion)
apiVersion
- the given apiVersion to compare the actual OAuthAccessTokenFluent's apiVersion to.AssertionError
- - if the actual OAuthAccessTokenFluent's apiVersion is not equal to the given one.public S hasAuthorizeToken(String authorizeToken)
authorizeToken
- the given authorizeToken to compare the actual OAuthAccessTokenFluent's authorizeToken to.AssertionError
- - if the actual OAuthAccessTokenFluent's authorizeToken is not equal to the given one.public S hasClientName(String clientName)
clientName
- the given clientName to compare the actual OAuthAccessTokenFluent's clientName to.AssertionError
- - if the actual OAuthAccessTokenFluent's clientName is not equal to the given one.public S hasExpiresIn(Long expiresIn)
expiresIn
- the given expiresIn to compare the actual OAuthAccessTokenFluent's expiresIn to.AssertionError
- - if the actual OAuthAccessTokenFluent's expiresIn is not equal to the given one.public S hasKind(String kind)
kind
- the given kind to compare the actual OAuthAccessTokenFluent's kind to.AssertionError
- - if the actual OAuthAccessTokenFluent'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 OAuthAccessTokenFluent's metadata to.AssertionError
- - if the actual OAuthAccessTokenFluent's metadata is not equal to the given one.public S hasRedirectURI(String redirectURI)
redirectURI
- the given redirectURI to compare the actual OAuthAccessTokenFluent's redirectURI to.AssertionError
- - if the actual OAuthAccessTokenFluent's redirectURI is not equal to the given one.public S hasRefreshToken(String refreshToken)
refreshToken
- the given refreshToken to compare the actual OAuthAccessTokenFluent's refreshToken to.AssertionError
- - if the actual OAuthAccessTokenFluent's refreshToken is not equal to the given one.public S hasScopes(String... scopes)
scopes
- the given elements that should be contained in actual OAuthAccessTokenFluent's scopes.AssertionError
- if the actual OAuthAccessTokenFluent's scopes does not contain all given String elements.public S hasOnlyScopes(String... scopes)
scopes
- the given elements that should be contained in actual OAuthAccessTokenFluent's scopes.AssertionError
- if the actual OAuthAccessTokenFluent's scopes does not contain all given String elements.public S doesNotHaveScopes(String... scopes)
scopes
- the given elements that should not be in actual OAuthAccessTokenFluent's scopes.AssertionError
- if the actual OAuthAccessTokenFluent's scopes contains any given String elements.public S hasNoScopes()
AssertionError
- if the actual OAuthAccessTokenFluent's scopes is not empty.public S hasUserName(String userName)
userName
- the given userName to compare the actual OAuthAccessTokenFluent's userName to.AssertionError
- - if the actual OAuthAccessTokenFluent's userName is not equal to the given one.public S hasUserUID(String userUID)
userUID
- the given userUID to compare the actual OAuthAccessTokenFluent's userUID to.AssertionError
- - if the actual OAuthAccessTokenFluent's userUID is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.