public abstract class AbstractResourceQuotaSpecAssert<S extends AbstractResourceQuotaSpecAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ResourceQuotaSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
ResourceQuotaSpec
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractResourceQuotaSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ResourceQuotaSpec. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveScopes(String... scopes)
Verifies that the actual ResourceQuotaSpec's scopes does not contain the given String elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ResourceQuotaSpec's additionalProperties is equal to the given one.
|
S |
hasHard(Map hard)
Verifies that the actual ResourceQuotaSpec's hard is equal to the given one.
|
S |
hasNoScopes()
Verifies that the actual ResourceQuotaSpec has no scopes.
|
S |
hasOnlyScopes(String... scopes)
Verifies that the actual ResourceQuotaSpec's scopes contains only the given String elements and nothing else in whatever order.
|
S |
hasScopes(String... scopes)
Verifies that the actual ResourceQuotaSpec's scopes 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 AbstractResourceQuotaSpecAssert(A actual, Class<S> selfType)
AbstractResourceQuotaSpecAssert
to make assertions on actual ResourceQuotaSpec.actual
- the ResourceQuotaSpec we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ResourceQuotaSpec's additionalProperties to.AssertionError
- - if the actual ResourceQuotaSpec's additionalProperties is not equal to the given one.public S hasHard(Map hard)
hard
- the given hard to compare the actual ResourceQuotaSpec's hard to.AssertionError
- - if the actual ResourceQuotaSpec's hard is not equal to the given one.public S hasScopes(String... scopes)
scopes
- the given elements that should be contained in actual ResourceQuotaSpec's scopes.AssertionError
- if the actual ResourceQuotaSpec's scopes does not contain all given String elements.public S hasOnlyScopes(String... scopes)
scopes
- the given elements that should be contained in actual ResourceQuotaSpec's scopes.AssertionError
- if the actual ResourceQuotaSpec's scopes does not contain all given String elements.public S doesNotHaveScopes(String... scopes)
scopes
- the given elements that should not be in actual ResourceQuotaSpec's scopes.AssertionError
- if the actual ResourceQuotaSpec's scopes contains any given String elements.public S hasNoScopes()
AssertionError
- if the actual ResourceQuotaSpec's scopes is not empty.Copyright © 2011–2016 Red Hat. All rights reserved.