Class MilestoneAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<S,A>
-
- org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert<S,A>
-
- org.camunda.bpm.engine.test.assertions.cmmn.AbstractCaseAssert<MilestoneAssert,CaseExecution>
-
- org.camunda.bpm.engine.test.assertions.cmmn.MilestoneAssert
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<MilestoneAssert,CaseExecution>
,org.assertj.core.api.Descriptable<MilestoneAssert>
,org.assertj.core.api.ExtensionPoints<MilestoneAssert,CaseExecution>
public class MilestoneAssert extends AbstractCaseAssert<MilestoneAssert,CaseExecution>
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert
engine
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MilestoneAssert(ProcessEngine engine, CaseExecution actual)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static MilestoneAssert
assertThat(ProcessEngine engine, CaseExecution actual)
MilestoneAssert
isAvailable()
Verifies the expectation that theCaseExecution
is 'available'.MilestoneAssert
isCompleted()
Verifies the expectation that theCaseExecution
is 'completed'.MilestoneAssert
isTerminated()
Verifies the expectation that theCaseExecution
is 'terminated'.-
Methods inherited from class org.camunda.bpm.engine.test.assertions.cmmn.AbstractCaseAssert
caseExecution, caseExecutionQuery, caseTask, caseTask, descendantCaseExecution, getActual, getCurrent, getHistoricState, hasVars, historicCaseActivityInstanceQuery, humanTask, humanTask, isActive, isCaseInstance, isCaseTask, isClosed, isDisabled, isEnabled, isHumanTask, isMilestone, isProcessTask, isStage, milestone, milestone, processTask, processTask, stage, stage, toString, variables, vars
-
Methods inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert
caseDefinitionQuery, caseInstanceQuery, caseService, executionQuery, externalTaskQuery, externalTaskService, formService, getExistingCurrent, getLastAssert, historicActivityInstanceQuery, historicProcessInstanceQuery, historicVariableInstanceQuery, historyService, jobQuery, managementService, processDefinitionQuery, processInstanceQuery, repositoryService, resetLastAsserts, runtimeService, taskQuery, taskService
-
Methods inherited from class org.assertj.core.api.AbstractAssert
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
-
-
-
-
Constructor Detail
-
MilestoneAssert
protected MilestoneAssert(ProcessEngine engine, CaseExecution actual)
-
-
Method Detail
-
assertThat
protected static MilestoneAssert assertThat(ProcessEngine engine, CaseExecution actual)
-
isAvailable
public MilestoneAssert isAvailable()
Verifies the expectation that theCaseExecution
is 'available'.- Overrides:
isAvailable
in classAbstractCaseAssert<MilestoneAssert,CaseExecution>
- Returns:
- this
-
isCompleted
public MilestoneAssert isCompleted()
Verifies the expectation that theCaseExecution
is 'completed'. A milestone is 'completed', when his 'occur' transition was performed.- Overrides:
isCompleted
in classAbstractCaseAssert<MilestoneAssert,CaseExecution>
- Returns:
- this
-
isTerminated
public MilestoneAssert isTerminated()
Verifies the expectation that theCaseExecution
is 'terminated'.- Overrides:
isTerminated
in classAbstractCaseAssert<MilestoneAssert,CaseExecution>
- Returns:
- this
-
-