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