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