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