public abstract class AbstractSecurityContextConstraintsFluentImplAssert<S extends AbstractSecurityContextConstraintsFluentImplAssert<S,A>,A extends io.fabric8.kubernetes.api.model.SecurityContextConstraintsFluentImpl>
extends org.assertj.core.api.AbstractAssert<S,A>
SecurityContextConstraintsFluentImpl
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractSecurityContextConstraintsFluentImplAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual SecurityContextConstraintsFluentImpl. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveAllowedCapabilities(String... allowedCapabilities)
Verifies that the actual SecurityContextConstraintsFluentImpl's allowedCapabilities does not contain the given String elements.
|
S |
doesNotHaveGroups(String... groups)
Verifies that the actual SecurityContextConstraintsFluentImpl's groups does not contain the given String elements.
|
S |
doesNotHaveUsers(String... users)
Verifies that the actual SecurityContextConstraintsFluentImpl's users does not contain the given String elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual SecurityContextConstraintsFluentImpl's additionalProperties is equal to the given one.
|
S |
hasAllowedCapabilities(String... allowedCapabilities)
Verifies that the actual SecurityContextConstraintsFluentImpl's allowedCapabilities contains the given String elements.
|
S |
hasApiVersion(io.fabric8.kubernetes.api.model.SecurityContextConstraints.ApiVersion apiVersion)
Verifies that the actual SecurityContextConstraintsFluentImpl's apiVersion is equal to the given one.
|
S |
hasFsGroup(io.fabric8.kubernetes.api.model.FSGroupStrategyOptions fsGroup)
Verifies that the actual SecurityContextConstraintsFluentImpl's fsGroup is equal to the given one.
|
S |
hasGroups(String... groups)
Verifies that the actual SecurityContextConstraintsFluentImpl's groups contains the given String elements.
|
S |
hasKind(String kind)
Verifies that the actual SecurityContextConstraintsFluentImpl's kind is equal to the given one.
|
S |
hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
Verifies that the actual SecurityContextConstraintsFluentImpl's metadata is equal to the given one.
|
S |
hasNoAllowedCapabilities()
Verifies that the actual SecurityContextConstraintsFluentImpl has no allowedCapabilities.
|
S |
hasNoGroups()
Verifies that the actual SecurityContextConstraintsFluentImpl has no groups.
|
S |
hasNoUsers()
Verifies that the actual SecurityContextConstraintsFluentImpl has no users.
|
S |
hasOnlyAllowedCapabilities(String... allowedCapabilities)
Verifies that the actual SecurityContextConstraintsFluentImpl's allowedCapabilities contains only the given String elements and nothing else in whatever order.
|
S |
hasOnlyGroups(String... groups)
Verifies that the actual SecurityContextConstraintsFluentImpl's groups contains only the given String elements and nothing else in whatever order.
|
S |
hasOnlyUsers(String... users)
Verifies that the actual SecurityContextConstraintsFluentImpl's users contains only the given String elements and nothing else in whatever order.
|
S |
hasPriority(Integer priority)
Verifies that the actual SecurityContextConstraintsFluentImpl's priority is equal to the given one.
|
S |
hasRunAsUser(io.fabric8.kubernetes.api.model.RunAsUserStrategyOptions runAsUser)
Verifies that the actual SecurityContextConstraintsFluentImpl's runAsUser is equal to the given one.
|
S |
hasSeLinuxContext(io.fabric8.kubernetes.api.model.SELinuxContextStrategyOptions seLinuxContext)
Verifies that the actual SecurityContextConstraintsFluentImpl's seLinuxContext is equal to the given one.
|
S |
hasSupplementalGroups(io.fabric8.kubernetes.api.model.SupplementalGroupsStrategyOptions supplementalGroups)
Verifies that the actual SecurityContextConstraintsFluentImpl's supplementalGroups is equal to the given one.
|
S |
hasUsers(String... users)
Verifies that the actual SecurityContextConstraintsFluentImpl's users contains the given String elements.
|
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 AbstractSecurityContextConstraintsFluentImplAssert(A actual, Class<S> selfType)
AbstractSecurityContextConstraintsFluentImplAssert
to make assertions on actual SecurityContextConstraintsFluentImpl.actual
- the SecurityContextConstraintsFluentImpl we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual SecurityContextConstraintsFluentImpl's additionalProperties to.AssertionError
- - if the actual SecurityContextConstraintsFluentImpl's additionalProperties is not equal to the given one.public S hasAllowedCapabilities(String... allowedCapabilities)
allowedCapabilities
- the given elements that should be contained in actual SecurityContextConstraintsFluentImpl's allowedCapabilities.AssertionError
- if the actual SecurityContextConstraintsFluentImpl's allowedCapabilities does not contain all given String elements.public S hasOnlyAllowedCapabilities(String... allowedCapabilities)
allowedCapabilities
- the given elements that should be contained in actual SecurityContextConstraintsFluentImpl's allowedCapabilities.AssertionError
- if the actual SecurityContextConstraintsFluentImpl's allowedCapabilities does not contain all given String elements.public S doesNotHaveAllowedCapabilities(String... allowedCapabilities)
allowedCapabilities
- the given elements that should not be in actual SecurityContextConstraintsFluentImpl's allowedCapabilities.AssertionError
- if the actual SecurityContextConstraintsFluentImpl's allowedCapabilities contains any given String elements.public S hasNoAllowedCapabilities()
AssertionError
- if the actual SecurityContextConstraintsFluentImpl's allowedCapabilities is not empty.public S hasApiVersion(io.fabric8.kubernetes.api.model.SecurityContextConstraints.ApiVersion apiVersion)
apiVersion
- the given apiVersion to compare the actual SecurityContextConstraintsFluentImpl's apiVersion to.AssertionError
- - if the actual SecurityContextConstraintsFluentImpl's apiVersion is not equal to the given one.public S hasFsGroup(io.fabric8.kubernetes.api.model.FSGroupStrategyOptions fsGroup)
fsGroup
- the given fsGroup to compare the actual SecurityContextConstraintsFluentImpl's fsGroup to.AssertionError
- - if the actual SecurityContextConstraintsFluentImpl's fsGroup is not equal to the given one.public S hasGroups(String... groups)
groups
- the given elements that should be contained in actual SecurityContextConstraintsFluentImpl's groups.AssertionError
- if the actual SecurityContextConstraintsFluentImpl's groups does not contain all given String elements.public S hasOnlyGroups(String... groups)
groups
- the given elements that should be contained in actual SecurityContextConstraintsFluentImpl's groups.AssertionError
- if the actual SecurityContextConstraintsFluentImpl's groups does not contain all given String elements.public S doesNotHaveGroups(String... groups)
groups
- the given elements that should not be in actual SecurityContextConstraintsFluentImpl's groups.AssertionError
- if the actual SecurityContextConstraintsFluentImpl's groups contains any given String elements.public S hasNoGroups()
AssertionError
- if the actual SecurityContextConstraintsFluentImpl's groups is not empty.public S hasKind(String kind)
kind
- the given kind to compare the actual SecurityContextConstraintsFluentImpl's kind to.AssertionError
- - if the actual SecurityContextConstraintsFluentImpl'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 SecurityContextConstraintsFluentImpl's metadata to.AssertionError
- - if the actual SecurityContextConstraintsFluentImpl's metadata is not equal to the given one.public S hasPriority(Integer priority)
priority
- the given priority to compare the actual SecurityContextConstraintsFluentImpl's priority to.AssertionError
- - if the actual SecurityContextConstraintsFluentImpl's priority is not equal to the given one.public S hasRunAsUser(io.fabric8.kubernetes.api.model.RunAsUserStrategyOptions runAsUser)
runAsUser
- the given runAsUser to compare the actual SecurityContextConstraintsFluentImpl's runAsUser to.AssertionError
- - if the actual SecurityContextConstraintsFluentImpl's runAsUser is not equal to the given one.public S hasSeLinuxContext(io.fabric8.kubernetes.api.model.SELinuxContextStrategyOptions seLinuxContext)
seLinuxContext
- the given seLinuxContext to compare the actual SecurityContextConstraintsFluentImpl's seLinuxContext to.AssertionError
- - if the actual SecurityContextConstraintsFluentImpl's seLinuxContext is not equal to the given one.public S hasSupplementalGroups(io.fabric8.kubernetes.api.model.SupplementalGroupsStrategyOptions supplementalGroups)
supplementalGroups
- the given supplementalGroups to compare the actual SecurityContextConstraintsFluentImpl's supplementalGroups to.AssertionError
- - if the actual SecurityContextConstraintsFluentImpl's supplementalGroups is not equal to the given one.public S hasUsers(String... users)
users
- the given elements that should be contained in actual SecurityContextConstraintsFluentImpl's users.AssertionError
- if the actual SecurityContextConstraintsFluentImpl's users does not contain all given String elements.public S hasOnlyUsers(String... users)
users
- the given elements that should be contained in actual SecurityContextConstraintsFluentImpl's users.AssertionError
- if the actual SecurityContextConstraintsFluentImpl's users does not contain all given String elements.public S doesNotHaveUsers(String... users)
users
- the given elements that should not be in actual SecurityContextConstraintsFluentImpl's users.AssertionError
- if the actual SecurityContextConstraintsFluentImpl's users contains any given String elements.public S hasNoUsers()
AssertionError
- if the actual SecurityContextConstraintsFluentImpl's users is not empty.Copyright © 2011–2015 Red Hat. All rights reserved.