public abstract class AbstractDurationAssert<S extends AbstractDurationAssert<S,A>,A extends io.fabric8.kubernetes.api.model.Duration>
extends org.assertj.core.api.AbstractAssert<S,A>
Duration
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractDurationAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual Duration. |
Modifier and Type | Method and Description |
---|---|
org.assertj.core.api.DurationAssert |
duration()
Navigates to the property duration so that assertions can be done on it
|
S |
hasValue(Long value)
Verifies that the actual Duration's value is equal to the given one.
|
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, withThreadDumpOnError
protected AbstractDurationAssert(A actual, Class<S> selfType)
AbstractDurationAssert
to make assertions on actual Duration.actual
- the Duration we want to make assertions on.public org.assertj.core.api.DurationAssert duration()
public S hasValue(Long value)
value
- the given value to compare the actual Duration's value to.AssertionError
- - if the actual Duration's value is not equal to the given one.Copyright © 2020. All rights reserved.