public abstract class AbstractClusterRoleBindingFluentImplAssert<S extends AbstractClusterRoleBindingFluentImplAssert<S,A>,A extends io.fabric8.openshift.api.model.ClusterRoleBindingFluentImpl>
extends org.assertj.core.api.AbstractAssert<S,A>
ClusterRoleBindingFluentImpl
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractClusterRoleBindingFluentImplAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ClusterRoleBindingFluentImpl. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveGroupNames(String... groupNames)
Verifies that the actual ClusterRoleBindingFluentImpl's groupNames does not contain the given String elements.
|
S |
doesNotHaveSubjects(io.fabric8.kubernetes.api.model.ObjectReference... subjects)
Verifies that the actual ClusterRoleBindingFluentImpl's subjects does not contain the given io.fabric8.kubernetes.api.model.ObjectReference elements.
|
S |
doesNotHaveUserNames(String... userNames)
Verifies that the actual ClusterRoleBindingFluentImpl's userNames does not contain the given String elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ClusterRoleBindingFluentImpl's additionalProperties is equal to the given one.
|
S |
hasApiVersion(io.fabric8.openshift.api.model.ClusterRoleBinding.ApiVersion apiVersion)
Verifies that the actual ClusterRoleBindingFluentImpl's apiVersion is equal to the given one.
|
S |
hasGroupNames(String... groupNames)
Verifies that the actual ClusterRoleBindingFluentImpl's groupNames contains the given String elements.
|
S |
hasKind(String kind)
Verifies that the actual ClusterRoleBindingFluentImpl's kind is equal to the given one.
|
S |
hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
Verifies that the actual ClusterRoleBindingFluentImpl's metadata is equal to the given one.
|
S |
hasNoGroupNames()
Verifies that the actual ClusterRoleBindingFluentImpl has no groupNames.
|
S |
hasNoSubjects()
Verifies that the actual ClusterRoleBindingFluentImpl has no subjects.
|
S |
hasNoUserNames()
Verifies that the actual ClusterRoleBindingFluentImpl has no userNames.
|
S |
hasOnlyGroupNames(String... groupNames)
Verifies that the actual ClusterRoleBindingFluentImpl's groupNames contains only the given String elements and nothing else in whatever order.
|
S |
hasOnlySubjects(io.fabric8.kubernetes.api.model.ObjectReference... subjects)
Verifies that the actual ClusterRoleBindingFluentImpl's subjects contains only the given io.fabric8.kubernetes.api.model.ObjectReference elements and nothing else in whatever order.
|
S |
hasOnlyUserNames(String... userNames)
Verifies that the actual ClusterRoleBindingFluentImpl's userNames contains only the given String elements and nothing else in whatever order.
|
S |
hasRoleRef(io.fabric8.kubernetes.api.model.ObjectReference roleRef)
Verifies that the actual ClusterRoleBindingFluentImpl's roleRef is equal to the given one.
|
S |
hasSubjects(io.fabric8.kubernetes.api.model.ObjectReference... subjects)
Verifies that the actual ClusterRoleBindingFluentImpl's subjects contains the given io.fabric8.kubernetes.api.model.ObjectReference elements.
|
S |
hasUserNames(String... userNames)
Verifies that the actual ClusterRoleBindingFluentImpl's userNames 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 AbstractClusterRoleBindingFluentImplAssert(A actual, Class<S> selfType)
AbstractClusterRoleBindingFluentImplAssert
to make assertions on actual ClusterRoleBindingFluentImpl.actual
- the ClusterRoleBindingFluentImpl we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ClusterRoleBindingFluentImpl's additionalProperties to.AssertionError
- - if the actual ClusterRoleBindingFluentImpl's additionalProperties is not equal to the given one.public S hasApiVersion(io.fabric8.openshift.api.model.ClusterRoleBinding.ApiVersion apiVersion)
apiVersion
- the given apiVersion to compare the actual ClusterRoleBindingFluentImpl's apiVersion to.AssertionError
- - if the actual ClusterRoleBindingFluentImpl's apiVersion is not equal to the given one.public S hasGroupNames(String... groupNames)
groupNames
- the given elements that should be contained in actual ClusterRoleBindingFluentImpl's groupNames.AssertionError
- if the actual ClusterRoleBindingFluentImpl's groupNames does not contain all given String elements.public S hasOnlyGroupNames(String... groupNames)
groupNames
- the given elements that should be contained in actual ClusterRoleBindingFluentImpl's groupNames.AssertionError
- if the actual ClusterRoleBindingFluentImpl's groupNames does not contain all given String elements.public S doesNotHaveGroupNames(String... groupNames)
groupNames
- the given elements that should not be in actual ClusterRoleBindingFluentImpl's groupNames.AssertionError
- if the actual ClusterRoleBindingFluentImpl's groupNames contains any given String elements.public S hasNoGroupNames()
AssertionError
- if the actual ClusterRoleBindingFluentImpl's groupNames is not empty.public S hasKind(String kind)
kind
- the given kind to compare the actual ClusterRoleBindingFluentImpl's kind to.AssertionError
- - if the actual ClusterRoleBindingFluentImpl'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 ClusterRoleBindingFluentImpl's metadata to.AssertionError
- - if the actual ClusterRoleBindingFluentImpl's metadata is not equal to the given one.public S hasRoleRef(io.fabric8.kubernetes.api.model.ObjectReference roleRef)
roleRef
- the given roleRef to compare the actual ClusterRoleBindingFluentImpl's roleRef to.AssertionError
- - if the actual ClusterRoleBindingFluentImpl's roleRef is not equal to the given one.public S hasSubjects(io.fabric8.kubernetes.api.model.ObjectReference... subjects)
subjects
- the given elements that should be contained in actual ClusterRoleBindingFluentImpl's subjects.AssertionError
- if the actual ClusterRoleBindingFluentImpl's subjects does not contain all given io.fabric8.kubernetes.api.model.ObjectReference elements.public S hasOnlySubjects(io.fabric8.kubernetes.api.model.ObjectReference... subjects)
subjects
- the given elements that should be contained in actual ClusterRoleBindingFluentImpl's subjects.AssertionError
- if the actual ClusterRoleBindingFluentImpl's subjects does not contain all given io.fabric8.kubernetes.api.model.ObjectReference elements.public S doesNotHaveSubjects(io.fabric8.kubernetes.api.model.ObjectReference... subjects)
subjects
- the given elements that should not be in actual ClusterRoleBindingFluentImpl's subjects.AssertionError
- if the actual ClusterRoleBindingFluentImpl's subjects contains any given io.fabric8.kubernetes.api.model.ObjectReference elements.public S hasNoSubjects()
AssertionError
- if the actual ClusterRoleBindingFluentImpl's subjects is not empty.public S hasUserNames(String... userNames)
userNames
- the given elements that should be contained in actual ClusterRoleBindingFluentImpl's userNames.AssertionError
- if the actual ClusterRoleBindingFluentImpl's userNames does not contain all given String elements.public S hasOnlyUserNames(String... userNames)
userNames
- the given elements that should be contained in actual ClusterRoleBindingFluentImpl's userNames.AssertionError
- if the actual ClusterRoleBindingFluentImpl's userNames does not contain all given String elements.public S doesNotHaveUserNames(String... userNames)
userNames
- the given elements that should not be in actual ClusterRoleBindingFluentImpl's userNames.AssertionError
- if the actual ClusterRoleBindingFluentImpl's userNames contains any given String elements.public S hasNoUserNames()
AssertionError
- if the actual ClusterRoleBindingFluentImpl's userNames is not empty.Copyright © 2011–2015 Red Hat. All rights reserved.