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>
public class CaseExecutionAssert extends AbstractCaseAssert<CaseExecutionAssert,CaseExecution>
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert
engine
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCaseExecutionAssert(ProcessEngine engine, CaseExecution actual)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static CaseExecutionAssertassertThat(ProcessEngine engine, CaseExecution actual)CaseExecutionAssertisActive()Verifies the expectation that theCaseExecutionis 'active'.CaseExecutionAssertisAvailable()Verifies the expectation that theCaseExecutionis 'available'.CaseInstanceAssertisCaseInstance()Verifies the expectation that theCaseExecutionis the 'case' instance.CaseTaskAssertisCaseTask()Verifies the expectation that theCaseExecutionis a 'caseTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes senseCaseExecutionAssertisCompleted()Verifies the expectation that theCaseExecutionis 'completed'.CaseExecutionAssertisDisabled()Verifies the expectation that theCaseExecutionis 'disabled'.CaseExecutionAssertisEnabled()Verifies the expectation that theCaseExecutionis 'enabled'.HumanTaskAssertisHumanTask()Verifies the expectation that theCaseExecutionis a 'humanTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes senseMilestoneAssertisMilestone()Verifies the expectation that theCaseExecutionis a 'milestone' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes senseProcessTaskAssertisProcessTask()Verifies the expectation that theCaseExecutionis a 'processTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes senseStageAssertisStage()Verifies the expectation that theCaseExecutionis a 'stage' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes senseCaseExecutionAssertisTerminated()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, 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
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
-
CaseExecutionAssert
protected CaseExecutionAssert(ProcessEngine engine, CaseExecution actual)
-
-
Method Detail
-
assertThat
protected static CaseExecutionAssert assertThat(ProcessEngine engine, CaseExecution actual)
-
isAvailable
public CaseExecutionAssert isAvailable()
Description copied from class:AbstractCaseAssertVerifies the expectation that theCaseExecutionis 'available'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense- Overrides:
isAvailablein classAbstractCaseAssert<CaseExecutionAssert,CaseExecution>- Returns:
- this
-
isEnabled
public CaseExecutionAssert isEnabled()
Description copied from class:AbstractCaseAssertVerifies the expectation that theCaseExecutionis 'enabled'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense- Overrides:
isEnabledin classAbstractCaseAssert<CaseExecutionAssert,CaseExecution>- Returns:
- this
-
isDisabled
public CaseExecutionAssert isDisabled()
Description copied from class:AbstractCaseAssertVerifies the expectation that theCaseExecutionis 'disabled'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense- Overrides:
isDisabledin classAbstractCaseAssert<CaseExecutionAssert,CaseExecution>- Returns:
- this
-
isActive
public CaseExecutionAssert isActive()
Description copied from class:AbstractCaseAssertVerifies the expectation that theCaseExecutionis 'active'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense- Overrides:
isActivein classAbstractCaseAssert<CaseExecutionAssert,CaseExecution>- Returns:
- this
-
isCompleted
public CaseExecutionAssert isCompleted()
Description copied from class:AbstractCaseAssertVerifies the expectation that theCaseExecutionis 'completed'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense- Overrides:
isCompletedin classAbstractCaseAssert<CaseExecutionAssert,CaseExecution>- Returns:
- this
-
isTerminated
public CaseExecutionAssert isTerminated()
Description copied from class:AbstractCaseAssertVerifies the expectation that theCaseExecutionis 'terminated'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense- Overrides:
isTerminatedin classAbstractCaseAssert<CaseExecutionAssert,CaseExecution>- Returns:
- this
-
isCaseInstance
public CaseInstanceAssert isCaseInstance()
Description copied from class:AbstractCaseAssertVerifies the expectation that theCaseExecutionis the 'case' instance. Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense- Overrides:
isCaseInstancein classAbstractCaseAssert<CaseExecutionAssert,CaseExecution>- Returns:
- this
-
isStage
public StageAssert isStage()
Description copied from class:AbstractCaseAssertVerifies the expectation that theCaseExecutionis a 'stage' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense- Overrides:
isStagein classAbstractCaseAssert<CaseExecutionAssert,CaseExecution>- Returns:
- this
-
isHumanTask
public HumanTaskAssert isHumanTask()
Description copied from class:AbstractCaseAssertVerifies the expectation that theCaseExecutionis a 'humanTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense- Overrides:
isHumanTaskin classAbstractCaseAssert<CaseExecutionAssert,CaseExecution>- Returns:
- this
-
isProcessTask
public ProcessTaskAssert isProcessTask()
Description copied from class:AbstractCaseAssertVerifies the expectation that theCaseExecutionis a 'processTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense- Overrides:
isProcessTaskin classAbstractCaseAssert<CaseExecutionAssert,CaseExecution>- Returns:
- this
-
isCaseTask
public CaseTaskAssert isCaseTask()
Description copied from class:AbstractCaseAssertVerifies the expectation that theCaseExecutionis a 'caseTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense- Overrides:
isCaseTaskin classAbstractCaseAssert<CaseExecutionAssert,CaseExecution>- Returns:
- this
-
isMilestone
public MilestoneAssert isMilestone()
Description copied from class:AbstractCaseAssertVerifies the expectation that theCaseExecutionis a 'milestone' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense- Overrides:
isMilestonein classAbstractCaseAssert<CaseExecutionAssert,CaseExecution>- Returns:
- this
-
-