public abstract class AbstractLeaseSpecAssert<S extends AbstractLeaseSpecAssert<S,A>,A extends io.fabric8.kubernetes.api.model.coordination.v1.LeaseSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
LeaseSpec specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLeaseSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual LeaseSpec. |
| Modifier and Type | Method and Description |
|---|---|
org.assertj.core.api.ZonedDateTimeAssert |
acquireTime()
Navigates to the property acquireTime so that assertions can be done on it
|
org.assertj.core.api.MapAssert |
additionalProperties()
Navigates to the property additionalProperties so that assertions can be done on it
|
S |
hasLeaseDurationSeconds(Integer leaseDurationSeconds)
Verifies that the actual LeaseSpec's leaseDurationSeconds is equal to the given one.
|
S |
hasLeaseTransitions(Integer leaseTransitions)
Verifies that the actual LeaseSpec's leaseTransitions is equal to the given one.
|
org.assertj.core.api.StringAssert |
holderIdentity()
Navigates to the property holderIdentity so that assertions can be done on it
|
org.assertj.core.api.ZonedDateTimeAssert |
renewTime()
Navigates to the property renewTime so that assertions can be done on it
|
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withRepresentation, withThreadDumpOnErrorprotected AbstractLeaseSpecAssert(A actual, Class<S> selfType)
AbstractLeaseSpecAssert to make assertions on actual LeaseSpec.actual - the LeaseSpec we want to make assertions on.public org.assertj.core.api.ZonedDateTimeAssert acquireTime()
public org.assertj.core.api.MapAssert additionalProperties()
public org.assertj.core.api.StringAssert holderIdentity()
public S hasLeaseDurationSeconds(Integer leaseDurationSeconds)
leaseDurationSeconds - the given leaseDurationSeconds to compare the actual LeaseSpec's leaseDurationSeconds to.AssertionError - - if the actual LeaseSpec's leaseDurationSeconds is not equal to the given one.public S hasLeaseTransitions(Integer leaseTransitions)
leaseTransitions - the given leaseTransitions to compare the actual LeaseSpec's leaseTransitions to.AssertionError - - if the actual LeaseSpec's leaseTransitions is not equal to the given one.public org.assertj.core.api.ZonedDateTimeAssert renewTime()
Copyright © 2020. All rights reserved.