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