public abstract class AbstractPolicyRuleFluentImplAssert<S extends AbstractPolicyRuleFluentImplAssert<S,A>,A extends io.fabric8.openshift.api.model.PolicyRuleFluentImpl>
extends org.assertj.core.api.AbstractAssert<S,A>
PolicyRuleFluentImpl
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractPolicyRuleFluentImplAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual PolicyRuleFluentImpl. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveApiGroups(String... apiGroups)
Verifies that the actual PolicyRuleFluentImpl's apiGroups does not contain the given String elements.
|
S |
doesNotHaveNonResourceURLs(String... nonResourceURLs)
Verifies that the actual PolicyRuleFluentImpl's nonResourceURLs does not contain the given String elements.
|
S |
doesNotHaveResourceNames(String... resourceNames)
Verifies that the actual PolicyRuleFluentImpl's resourceNames does not contain the given String elements.
|
S |
doesNotHaveResources(String... resources)
Verifies that the actual PolicyRuleFluentImpl's resources does not contain the given String elements.
|
S |
doesNotHaveVerbs(String... verbs)
Verifies that the actual PolicyRuleFluentImpl's verbs does not contain the given String elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual PolicyRuleFluentImpl's additionalProperties is equal to the given one.
|
S |
hasApiGroups(String... apiGroups)
Verifies that the actual PolicyRuleFluentImpl's apiGroups contains the given String elements.
|
S |
hasAttributeRestrictions(io.fabric8.kubernetes.api.model.HasMetadata attributeRestrictions)
Verifies that the actual PolicyRuleFluentImpl's attributeRestrictions is equal to the given one.
|
S |
hasNoApiGroups()
Verifies that the actual PolicyRuleFluentImpl has no apiGroups.
|
S |
hasNoNonResourceURLs()
Verifies that the actual PolicyRuleFluentImpl has no nonResourceURLs.
|
S |
hasNonResourceURLs(String... nonResourceURLs)
Verifies that the actual PolicyRuleFluentImpl's nonResourceURLs contains the given String elements.
|
S |
hasNoResourceNames()
Verifies that the actual PolicyRuleFluentImpl has no resourceNames.
|
S |
hasNoResources()
Verifies that the actual PolicyRuleFluentImpl has no resources.
|
S |
hasNoVerbs()
Verifies that the actual PolicyRuleFluentImpl has no verbs.
|
S |
hasOnlyApiGroups(String... apiGroups)
Verifies that the actual PolicyRuleFluentImpl's apiGroups contains only the given String elements and nothing else in whatever order.
|
S |
hasOnlyNonResourceURLs(String... nonResourceURLs)
Verifies that the actual PolicyRuleFluentImpl's nonResourceURLs contains only the given String elements and nothing else in whatever order.
|
S |
hasOnlyResourceNames(String... resourceNames)
Verifies that the actual PolicyRuleFluentImpl's resourceNames contains only the given String elements and nothing else in whatever order.
|
S |
hasOnlyResources(String... resources)
Verifies that the actual PolicyRuleFluentImpl's resources contains only the given String elements and nothing else in whatever order.
|
S |
hasOnlyVerbs(String... verbs)
Verifies that the actual PolicyRuleFluentImpl's verbs contains only the given String elements and nothing else in whatever order.
|
S |
hasResourceNames(String... resourceNames)
Verifies that the actual PolicyRuleFluentImpl's resourceNames contains the given String elements.
|
S |
hasResources(String... resources)
Verifies that the actual PolicyRuleFluentImpl's resources contains the given String elements.
|
S |
hasVerbs(String... verbs)
Verifies that the actual PolicyRuleFluentImpl's verbs contains the given String 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 AbstractPolicyRuleFluentImplAssert(A actual, Class<S> selfType)
AbstractPolicyRuleFluentImplAssert
to make assertions on actual PolicyRuleFluentImpl.actual
- the PolicyRuleFluentImpl we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual PolicyRuleFluentImpl's additionalProperties to.AssertionError
- - if the actual PolicyRuleFluentImpl's additionalProperties is not equal to the given one.public S hasApiGroups(String... apiGroups)
apiGroups
- the given elements that should be contained in actual PolicyRuleFluentImpl's apiGroups.AssertionError
- if the actual PolicyRuleFluentImpl's apiGroups does not contain all given String elements.public S hasOnlyApiGroups(String... apiGroups)
apiGroups
- the given elements that should be contained in actual PolicyRuleFluentImpl's apiGroups.AssertionError
- if the actual PolicyRuleFluentImpl's apiGroups does not contain all given String elements.public S doesNotHaveApiGroups(String... apiGroups)
apiGroups
- the given elements that should not be in actual PolicyRuleFluentImpl's apiGroups.AssertionError
- if the actual PolicyRuleFluentImpl's apiGroups contains any given String elements.public S hasNoApiGroups()
AssertionError
- if the actual PolicyRuleFluentImpl's apiGroups is not empty.public S hasAttributeRestrictions(io.fabric8.kubernetes.api.model.HasMetadata attributeRestrictions)
attributeRestrictions
- the given attributeRestrictions to compare the actual PolicyRuleFluentImpl's attributeRestrictions to.AssertionError
- - if the actual PolicyRuleFluentImpl's attributeRestrictions is not equal to the given one.public S hasNonResourceURLs(String... nonResourceURLs)
nonResourceURLs
- the given elements that should be contained in actual PolicyRuleFluentImpl's nonResourceURLs.AssertionError
- if the actual PolicyRuleFluentImpl's nonResourceURLs does not contain all given String elements.public S hasOnlyNonResourceURLs(String... nonResourceURLs)
nonResourceURLs
- the given elements that should be contained in actual PolicyRuleFluentImpl's nonResourceURLs.AssertionError
- if the actual PolicyRuleFluentImpl's nonResourceURLs does not contain all given String elements.public S doesNotHaveNonResourceURLs(String... nonResourceURLs)
nonResourceURLs
- the given elements that should not be in actual PolicyRuleFluentImpl's nonResourceURLs.AssertionError
- if the actual PolicyRuleFluentImpl's nonResourceURLs contains any given String elements.public S hasNoNonResourceURLs()
AssertionError
- if the actual PolicyRuleFluentImpl's nonResourceURLs is not empty.public S hasResourceNames(String... resourceNames)
resourceNames
- the given elements that should be contained in actual PolicyRuleFluentImpl's resourceNames.AssertionError
- if the actual PolicyRuleFluentImpl's resourceNames does not contain all given String elements.public S hasOnlyResourceNames(String... resourceNames)
resourceNames
- the given elements that should be contained in actual PolicyRuleFluentImpl's resourceNames.AssertionError
- if the actual PolicyRuleFluentImpl's resourceNames does not contain all given String elements.public S doesNotHaveResourceNames(String... resourceNames)
resourceNames
- the given elements that should not be in actual PolicyRuleFluentImpl's resourceNames.AssertionError
- if the actual PolicyRuleFluentImpl's resourceNames contains any given String elements.public S hasNoResourceNames()
AssertionError
- if the actual PolicyRuleFluentImpl's resourceNames is not empty.public S hasResources(String... resources)
resources
- the given elements that should be contained in actual PolicyRuleFluentImpl's resources.AssertionError
- if the actual PolicyRuleFluentImpl's resources does not contain all given String elements.public S hasOnlyResources(String... resources)
resources
- the given elements that should be contained in actual PolicyRuleFluentImpl's resources.AssertionError
- if the actual PolicyRuleFluentImpl's resources does not contain all given String elements.public S doesNotHaveResources(String... resources)
resources
- the given elements that should not be in actual PolicyRuleFluentImpl's resources.AssertionError
- if the actual PolicyRuleFluentImpl's resources contains any given String elements.public S hasNoResources()
AssertionError
- if the actual PolicyRuleFluentImpl's resources is not empty.public S hasVerbs(String... verbs)
verbs
- the given elements that should be contained in actual PolicyRuleFluentImpl's verbs.AssertionError
- if the actual PolicyRuleFluentImpl's verbs does not contain all given String elements.public S hasOnlyVerbs(String... verbs)
verbs
- the given elements that should be contained in actual PolicyRuleFluentImpl's verbs.AssertionError
- if the actual PolicyRuleFluentImpl's verbs does not contain all given String elements.public S doesNotHaveVerbs(String... verbs)
verbs
- the given elements that should not be in actual PolicyRuleFluentImpl's verbs.AssertionError
- if the actual PolicyRuleFluentImpl's verbs contains any given String elements.public S hasNoVerbs()
AssertionError
- if the actual PolicyRuleFluentImpl's verbs is not empty.Copyright © 2011–2016 Red Hat. All rights reserved.