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,org.camunda.bpm.engine.runtime.CaseExecution>
org.camunda.bpm.engine.test.assertions.cmmn.MilestoneAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<MilestoneAssert,,org.camunda.bpm.engine.runtime.CaseExecution> org.assertj.core.api.Descriptable<MilestoneAssert>,org.assertj.core.api.ExtensionPoints<MilestoneAssert,org.camunda.bpm.engine.runtime.CaseExecution>
public class MilestoneAssert
extends AbstractCaseAssert<MilestoneAssert,org.camunda.bpm.engine.runtime.CaseExecution>
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert
engineFields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMilestoneAssert(org.camunda.bpm.engine.ProcessEngine engine, org.camunda.bpm.engine.runtime.CaseExecution actual) -
Method Summary
Modifier and TypeMethodDescriptionprotected static MilestoneAssertassertThat(org.camunda.bpm.engine.ProcessEngine engine, org.camunda.bpm.engine.runtime.CaseExecution actual) Verifies the expectation that theCaseExecutionis 'available'.Verifies the expectation that theCaseExecutionis 'completed'.Verifies the expectation that theCaseExecutionis '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, varsMethods 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, taskServiceMethods inherited from class org.assertj.core.api.AbstractAssert
areEqual, 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, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs
-
Constructor Details
-
MilestoneAssert
protected MilestoneAssert(org.camunda.bpm.engine.ProcessEngine engine, org.camunda.bpm.engine.runtime.CaseExecution actual)
-
-
Method Details
-
assertThat
protected static MilestoneAssert assertThat(org.camunda.bpm.engine.ProcessEngine engine, org.camunda.bpm.engine.runtime.CaseExecution actual) -
isAvailable
Verifies the expectation that theCaseExecutionis 'available'.- Overrides:
isAvailablein classAbstractCaseAssert<MilestoneAssert,org.camunda.bpm.engine.runtime.CaseExecution> - Returns:
- this
-
isCompleted
Verifies the expectation that theCaseExecutionis 'completed'. A milestone is 'completed', when his 'occur' transition was performed.- Overrides:
isCompletedin classAbstractCaseAssert<MilestoneAssert,org.camunda.bpm.engine.runtime.CaseExecution> - Returns:
- this
-
isTerminated
Verifies the expectation that theCaseExecutionis 'terminated'.- Overrides:
isTerminatedin classAbstractCaseAssert<MilestoneAssert,org.camunda.bpm.engine.runtime.CaseExecution> - Returns:
- this
-