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