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