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