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