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