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