public abstract class AbstractLifecycleAssert<S extends AbstractLifecycleAssert<S,A>,A extends io.fabric8.kubernetes.api.model.Lifecycle>
extends org.assertj.core.api.AbstractAssert<S,A>
Lifecycle specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLifecycleAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual Lifecycle. |
| Modifier and Type | Method and Description |
|---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual Lifecycle's additionalProperties is equal to the given one.
|
S |
hasPostStart(io.fabric8.kubernetes.api.model.Handler postStart)
Verifies that the actual Lifecycle's postStart is equal to the given one.
|
S |
hasPreStop(io.fabric8.kubernetes.api.model.Handler preStop)
Verifies that the actual Lifecycle's preStop is equal to the given one.
|
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, usingDefaultComparatorprotected AbstractLifecycleAssert(A actual, Class<S> selfType)
AbstractLifecycleAssert to make assertions on actual Lifecycle.actual - the Lifecycle we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties - the given additionalProperties to compare the actual Lifecycle's additionalProperties to.AssertionError - - if the actual Lifecycle's additionalProperties is not equal to the given one.public S hasPostStart(io.fabric8.kubernetes.api.model.Handler postStart)
postStart - the given postStart to compare the actual Lifecycle's postStart to.AssertionError - - if the actual Lifecycle's postStart is not equal to the given one.public S hasPreStop(io.fabric8.kubernetes.api.model.Handler preStop)
preStop - the given preStop to compare the actual Lifecycle's preStop to.AssertionError - - if the actual Lifecycle's preStop is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.