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 |
---|---|
org.assertj.core.api.MapAssert |
additionalProperties()
Navigates to the property additionalProperties so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
apiVersion()
Navigates to the property apiVersion so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
authorizeToken()
Navigates to the property authorizeToken so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
clientName()
Navigates to the property clientName so that assertions can be done on it
|
S |
hasExpiresIn(Long expiresIn)
Verifies that the actual OAuthAccessToken's expiresIn is equal to the given one.
|
org.assertj.core.api.StringAssert |
kind()
Navigates to the property kind so that assertions can be done on it
|
ObjectMetaAssert |
metadata()
Navigates to the property metadata so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
redirectURI()
Navigates to the property redirectURI so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
refreshToken()
Navigates to the property refreshToken so that assertions can be done on it
|
NavigationListAssert<String,org.assertj.core.api.StringAssert> |
scopes()
Navigates to the property scopes so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
userName()
Navigates to the property userName so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
userUID()
Navigates to the property userUID so that assertions can be done on it
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, 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, withFailMessage, withThreadDumpOnError
protected AbstractOAuthAccessTokenAssert(A actual, Class<S> selfType)
AbstractOAuthAccessTokenAssert
to make assertions on actual OAuthAccessToken.actual
- the OAuthAccessToken we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public org.assertj.core.api.StringAssert apiVersion()
public org.assertj.core.api.StringAssert authorizeToken()
public org.assertj.core.api.StringAssert clientName()
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 org.assertj.core.api.StringAssert kind()
public ObjectMetaAssert metadata()
public org.assertj.core.api.StringAssert redirectURI()
public org.assertj.core.api.StringAssert refreshToken()
public NavigationListAssert<String,org.assertj.core.api.StringAssert> scopes()
public org.assertj.core.api.StringAssert userName()
public org.assertj.core.api.StringAssert userUID()
Copyright © 2011–2017 Red Hat. All rights reserved.