public abstract class AbstractStepInfoAssert<S extends AbstractStepInfoAssert<S,A>,A extends io.fabric8.openshift.api.model.StepInfo>
extends org.assertj.core.api.AbstractAssert<S,A>
StepInfo
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractStepInfoAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual StepInfo. |
Modifier and Type | Method and Description |
---|---|
org.assertj.core.api.MapAssert |
additionalProperties()
Navigates to the property additionalProperties so that assertions can be done on it
|
S |
hasDurationMilliseconds(Long durationMilliseconds)
Verifies that the actual StepInfo's durationMilliseconds is equal to the given one.
|
org.assertj.core.api.StringAssert |
name()
Navigates to the property name so that assertions can be done on it
|
TimeAssert |
startTime()
Navigates to the property startTime so that assertions can be done on it
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, 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, withFailMessage, withThreadDumpOnError
protected AbstractStepInfoAssert(A actual, Class<S> selfType)
AbstractStepInfoAssert
to make assertions on actual StepInfo.actual
- the StepInfo we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public S hasDurationMilliseconds(Long durationMilliseconds)
durationMilliseconds
- the given durationMilliseconds to compare the actual StepInfo's durationMilliseconds to.AssertionError
- - if the actual StepInfo's durationMilliseconds is not equal to the given one.public org.assertj.core.api.StringAssert name()
public TimeAssert startTime()
Copyright © 2011–2017 Red Hat. All rights reserved.