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