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