public abstract class AbstractClusterPolicyBindingFluentAssert<S extends AbstractClusterPolicyBindingFluentAssert<S,A>,A extends io.fabric8.openshift.api.model.ClusterPolicyBindingFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
ClusterPolicyBindingFluent
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractClusterPolicyBindingFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ClusterPolicyBindingFluent. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveRoleBindings(io.fabric8.openshift.api.model.NamedClusterRoleBinding... roleBindings)
Verifies that the actual ClusterPolicyBindingFluent's roleBindings does not contain the given NamedClusterRoleBinding elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ClusterPolicyBindingFluent's additionalProperties is equal to the given one.
|
S |
hasApiVersion(io.fabric8.openshift.api.model.ClusterPolicyBinding.ApiVersion apiVersion)
Verifies that the actual ClusterPolicyBindingFluent's apiVersion is equal to the given one.
|
S |
hasKind(String kind)
Verifies that the actual ClusterPolicyBindingFluent's kind is equal to the given one.
|
S |
hasLastModified(String lastModified)
Verifies that the actual ClusterPolicyBindingFluent's lastModified is equal to the given one.
|
S |
hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
Verifies that the actual ClusterPolicyBindingFluent's metadata is equal to the given one.
|
S |
hasNoRoleBindings()
Verifies that the actual ClusterPolicyBindingFluent has no roleBindings.
|
S |
hasOnlyRoleBindings(io.fabric8.openshift.api.model.NamedClusterRoleBinding... roleBindings)
Verifies that the actual ClusterPolicyBindingFluent's roleBindings contains only the given NamedClusterRoleBinding elements and nothing else in whatever order.
|
S |
hasPolicyRef(io.fabric8.kubernetes.api.model.ObjectReference policyRef)
Verifies that the actual ClusterPolicyBindingFluent's policyRef is equal to the given one.
|
S |
hasRoleBindings(io.fabric8.openshift.api.model.NamedClusterRoleBinding... roleBindings)
Verifies that the actual ClusterPolicyBindingFluent's roleBindings contains the given NamedClusterRoleBinding 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 AbstractClusterPolicyBindingFluentAssert(A actual, Class<S> selfType)
AbstractClusterPolicyBindingFluentAssert
to make assertions on actual ClusterPolicyBindingFluent.actual
- the ClusterPolicyBindingFluent we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ClusterPolicyBindingFluent's additionalProperties to.AssertionError
- - if the actual ClusterPolicyBindingFluent's additionalProperties is not equal to the given one.public S hasApiVersion(io.fabric8.openshift.api.model.ClusterPolicyBinding.ApiVersion apiVersion)
apiVersion
- the given apiVersion to compare the actual ClusterPolicyBindingFluent's apiVersion to.AssertionError
- - if the actual ClusterPolicyBindingFluent's apiVersion is not equal to the given one.public S hasKind(String kind)
kind
- the given kind to compare the actual ClusterPolicyBindingFluent's kind to.AssertionError
- - if the actual ClusterPolicyBindingFluent's kind is not equal to the given one.public S hasLastModified(String lastModified)
lastModified
- the given lastModified to compare the actual ClusterPolicyBindingFluent's lastModified to.AssertionError
- - if the actual ClusterPolicyBindingFluent's lastModified 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 ClusterPolicyBindingFluent's metadata to.AssertionError
- - if the actual ClusterPolicyBindingFluent's metadata is not equal to the given one.public S hasPolicyRef(io.fabric8.kubernetes.api.model.ObjectReference policyRef)
policyRef
- the given policyRef to compare the actual ClusterPolicyBindingFluent's policyRef to.AssertionError
- - if the actual ClusterPolicyBindingFluent's policyRef is not equal to the given one.public S hasRoleBindings(io.fabric8.openshift.api.model.NamedClusterRoleBinding... roleBindings)
roleBindings
- the given elements that should be contained in actual ClusterPolicyBindingFluent's roleBindings.AssertionError
- if the actual ClusterPolicyBindingFluent's roleBindings does not contain all given NamedClusterRoleBinding elements.public S hasOnlyRoleBindings(io.fabric8.openshift.api.model.NamedClusterRoleBinding... roleBindings)
roleBindings
- the given elements that should be contained in actual ClusterPolicyBindingFluent's roleBindings.AssertionError
- if the actual ClusterPolicyBindingFluent's roleBindings does not contain all given NamedClusterRoleBinding elements.public S doesNotHaveRoleBindings(io.fabric8.openshift.api.model.NamedClusterRoleBinding... roleBindings)
roleBindings
- the given elements that should not be in actual ClusterPolicyBindingFluent's roleBindings.AssertionError
- if the actual ClusterPolicyBindingFluent's roleBindings contains any given NamedClusterRoleBinding elements.public S hasNoRoleBindings()
AssertionError
- if the actual ClusterPolicyBindingFluent's roleBindings is not empty.Copyright © 2011–2016 Red Hat. All rights reserved.