public class ClusterPolicyAssert extends AbstractClusterPolicyAssert<ClusterPolicyAssert,io.fabric8.openshift.api.model.ClusterPolicy>
ClusterPolicy
specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractClusterPolicyAssert
instead.Constructor and Description |
---|
ClusterPolicyAssert(io.fabric8.openshift.api.model.ClusterPolicy actual)
Creates a new
to make assertions on actual ClusterPolicy. |
Modifier and Type | Method and Description |
---|---|
static ClusterPolicyAssert |
assertThat(io.fabric8.openshift.api.model.ClusterPolicy actual)
An entry point for ClusterPolicyAssert to follow AssertJ standard
assertThat() statements.With a static import, one can write directly: assertThat(myClusterPolicy) and get specific assertion with code completion. |
doesNotHaveRoles, hasAdditionalProperties, hasApiVersion, hasKind, hasLastModified, hasMetadata, hasNoRoles, hasOnlyRoles, hasRoles
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
public ClusterPolicyAssert(io.fabric8.openshift.api.model.ClusterPolicy actual)
ClusterPolicyAssert
to make assertions on actual ClusterPolicy.actual
- the ClusterPolicy we want to make assertions on.public static ClusterPolicyAssert assertThat(io.fabric8.openshift.api.model.ClusterPolicy actual)
assertThat()
statements.assertThat(myClusterPolicy)
and get specific assertion with code completion.actual
- the ClusterPolicy we want to make assertions on.ClusterPolicyAssert
Copyright © 2011–2015 Red Hat. All rights reserved.