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