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