Class CaseExecutionAssert
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<CaseExecutionAssert,CaseExecution>
org.camunda.bpm.engine.test.assertions.cmmn.CaseExecutionAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<CaseExecutionAssert,
,CaseExecution> org.assertj.core.api.Descriptable<CaseExecutionAssert>
,org.assertj.core.api.ExtensionPoints<CaseExecutionAssert,
CaseExecution>
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert
engine
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Constructor Summary
ModifierConstructorDescriptionprotected
CaseExecutionAssert
(ProcessEngine engine, CaseExecution actual) -
Method Summary
Modifier and TypeMethodDescriptionprotected static CaseExecutionAssert
assertThat
(ProcessEngine engine, CaseExecution actual) isActive()
Verifies the expectation that theCaseExecution
is 'active'.Verifies the expectation that theCaseExecution
is 'available'.Verifies the expectation that theCaseExecution
is the 'case' instance.Verifies the expectation that theCaseExecution
is a 'caseTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes senseVerifies the expectation that theCaseExecution
is 'completed'.Verifies the expectation that theCaseExecution
is 'disabled'.Verifies the expectation that theCaseExecution
is 'enabled'.Verifies the expectation that theCaseExecution
is a 'humanTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes senseVerifies the expectation that theCaseExecution
is a 'milestone' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes senseVerifies the expectation that theCaseExecution
is a 'processTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes senseisStage()
Verifies the expectation that theCaseExecution
is a 'stage' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes senseVerifies 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, isClosed, 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
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, 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, withThreadDumpOnError
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Constructor Details
-
CaseExecutionAssert
-
-
Method Details
-
assertThat
-
isAvailable
Description copied from class:AbstractCaseAssert
Verifies the expectation that theCaseExecution
is 'available'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense- Overrides:
isAvailable
in classAbstractCaseAssert<CaseExecutionAssert,
CaseExecution> - Returns:
- this
-
isEnabled
Description copied from class:AbstractCaseAssert
Verifies the expectation that theCaseExecution
is 'enabled'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense- Overrides:
isEnabled
in classAbstractCaseAssert<CaseExecutionAssert,
CaseExecution> - Returns:
- this
-
isDisabled
Description copied from class:AbstractCaseAssert
Verifies the expectation that theCaseExecution
is 'disabled'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense- Overrides:
isDisabled
in classAbstractCaseAssert<CaseExecutionAssert,
CaseExecution> - Returns:
- this
-
isActive
Description copied from class:AbstractCaseAssert
Verifies the expectation that theCaseExecution
is 'active'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense- Overrides:
isActive
in classAbstractCaseAssert<CaseExecutionAssert,
CaseExecution> - Returns:
- this
-
isCompleted
Description copied from class:AbstractCaseAssert
Verifies the expectation that theCaseExecution
is 'completed'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense- Overrides:
isCompleted
in classAbstractCaseAssert<CaseExecutionAssert,
CaseExecution> - Returns:
- this
-
isTerminated
Description copied from class:AbstractCaseAssert
Verifies the expectation that theCaseExecution
is 'terminated'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense- Overrides:
isTerminated
in classAbstractCaseAssert<CaseExecutionAssert,
CaseExecution> - Returns:
- this
-
isCaseInstance
Description copied from class:AbstractCaseAssert
Verifies the expectation that theCaseExecution
is the 'case' instance. Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense- Overrides:
isCaseInstance
in classAbstractCaseAssert<CaseExecutionAssert,
CaseExecution> - Returns:
- this
-
isStage
Description copied from class:AbstractCaseAssert
Verifies the expectation that theCaseExecution
is a 'stage' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense- Overrides:
isStage
in classAbstractCaseAssert<CaseExecutionAssert,
CaseExecution> - Returns:
- this
-
isHumanTask
Description copied from class:AbstractCaseAssert
Verifies the expectation that theCaseExecution
is a 'humanTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense- Overrides:
isHumanTask
in classAbstractCaseAssert<CaseExecutionAssert,
CaseExecution> - Returns:
- this
-
isProcessTask
Description copied from class:AbstractCaseAssert
Verifies the expectation that theCaseExecution
is a 'processTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense- Overrides:
isProcessTask
in classAbstractCaseAssert<CaseExecutionAssert,
CaseExecution> - Returns:
- this
-
isCaseTask
Description copied from class:AbstractCaseAssert
Verifies the expectation that theCaseExecution
is a 'caseTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense- Overrides:
isCaseTask
in classAbstractCaseAssert<CaseExecutionAssert,
CaseExecution> - Returns:
- this
-
isMilestone
Description copied from class:AbstractCaseAssert
Verifies the expectation that theCaseExecution
is a 'milestone' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense- Overrides:
isMilestone
in classAbstractCaseAssert<CaseExecutionAssert,
CaseExecution> - Returns:
- this
-