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 |
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 |
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 |
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 |
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, usingDefaultComparatorprotected 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 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 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 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 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 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 hasNoUsers()
AssertionError - if the actual SecurityContextConstraintsFluent's users is not empty.Copyright © 2011–2015 Red Hat. All rights reserved.