public abstract class AbstractSubjectAccessReviewFluentAssert<S extends AbstractSubjectAccessReviewFluentAssert<S,A>,A extends io.fabric8.openshift.api.model.SubjectAccessReviewFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
SubjectAccessReviewFluent
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractSubjectAccessReviewFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual SubjectAccessReviewFluent. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveGroups(String... groups)
Verifies that the actual SubjectAccessReviewFluent's groups does not contain the given String elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual SubjectAccessReviewFluent's additionalProperties is equal to the given one.
|
S |
hasApiVersion(io.fabric8.openshift.api.model.SubjectAccessReview.ApiVersion apiVersion)
Verifies that the actual SubjectAccessReviewFluent's apiVersion is equal to the given one.
|
S |
hasContent(io.fabric8.kubernetes.api.model.HasMetadata content)
Verifies that the actual SubjectAccessReviewFluent's content is equal to the given one.
|
S |
hasGroups(String... groups)
Verifies that the actual SubjectAccessReviewFluent's groups contains the given String elements.
|
S |
hasKind(String kind)
Verifies that the actual SubjectAccessReviewFluent's kind is equal to the given one.
|
S |
hasNamespace(String namespace)
Verifies that the actual SubjectAccessReviewFluent's namespace is equal to the given one.
|
S |
hasNoGroups()
Verifies that the actual SubjectAccessReviewFluent has no groups.
|
S |
hasOnlyGroups(String... groups)
Verifies that the actual SubjectAccessReviewFluent's groups contains only the given String elements and nothing else in whatever order.
|
S |
hasResource(String resource)
Verifies that the actual SubjectAccessReviewFluent's resource is equal to the given one.
|
S |
hasResourceName(String resourceName)
Verifies that the actual SubjectAccessReviewFluent's resourceName is equal to the given one.
|
S |
hasUser(String user)
Verifies that the actual SubjectAccessReviewFluent's user is equal to the given one.
|
S |
hasVerb(String verb)
Verifies that the actual SubjectAccessReviewFluent's verb 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 AbstractSubjectAccessReviewFluentAssert(A actual, Class<S> selfType)
AbstractSubjectAccessReviewFluentAssert
to make assertions on actual SubjectAccessReviewFluent.actual
- the SubjectAccessReviewFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual SubjectAccessReviewFluent's additionalProperties to.AssertionError
- - if the actual SubjectAccessReviewFluent's additionalProperties is not equal to the given one.public S hasApiVersion(io.fabric8.openshift.api.model.SubjectAccessReview.ApiVersion apiVersion)
apiVersion
- the given apiVersion to compare the actual SubjectAccessReviewFluent's apiVersion to.AssertionError
- - if the actual SubjectAccessReviewFluent's apiVersion is not equal to the given one.public S hasContent(io.fabric8.kubernetes.api.model.HasMetadata content)
content
- the given content to compare the actual SubjectAccessReviewFluent's content to.AssertionError
- - if the actual SubjectAccessReviewFluent's content is not equal to the given one.public S hasGroups(String... groups)
groups
- the given elements that should be contained in actual SubjectAccessReviewFluent's groups.AssertionError
- if the actual SubjectAccessReviewFluent's groups does not contain all given String elements.public S hasOnlyGroups(String... groups)
groups
- the given elements that should be contained in actual SubjectAccessReviewFluent's groups.AssertionError
- if the actual SubjectAccessReviewFluent's groups does not contain all given String elements.public S doesNotHaveGroups(String... groups)
groups
- the given elements that should not be in actual SubjectAccessReviewFluent's groups.AssertionError
- if the actual SubjectAccessReviewFluent's groups contains any given String elements.public S hasNoGroups()
AssertionError
- if the actual SubjectAccessReviewFluent's groups is not empty.public S hasKind(String kind)
kind
- the given kind to compare the actual SubjectAccessReviewFluent's kind to.AssertionError
- - if the actual SubjectAccessReviewFluent's kind is not equal to the given one.public S hasNamespace(String namespace)
namespace
- the given namespace to compare the actual SubjectAccessReviewFluent's namespace to.AssertionError
- - if the actual SubjectAccessReviewFluent's namespace is not equal to the given one.public S hasResource(String resource)
resource
- the given resource to compare the actual SubjectAccessReviewFluent's resource to.AssertionError
- - if the actual SubjectAccessReviewFluent's resource is not equal to the given one.public S hasResourceName(String resourceName)
resourceName
- the given resourceName to compare the actual SubjectAccessReviewFluent's resourceName to.AssertionError
- - if the actual SubjectAccessReviewFluent's resourceName is not equal to the given one.public S hasUser(String user)
user
- the given user to compare the actual SubjectAccessReviewFluent's user to.AssertionError
- - if the actual SubjectAccessReviewFluent's user is not equal to the given one.public S hasVerb(String verb)
verb
- the given verb to compare the actual SubjectAccessReviewFluent's verb to.AssertionError
- - if the actual SubjectAccessReviewFluent's verb is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.