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 protected
CaseExecutionAssert(ProcessEngine engine, CaseExecution actual)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static CaseExecutionAssert
assertThat(ProcessEngine engine, CaseExecution actual)
CaseExecutionAssert
isActive()
Verifies the expectation that theCaseExecution
is 'active'.CaseExecutionAssert
isAvailable()
Verifies the expectation that theCaseExecution
is 'available'.CaseInstanceAssert
isCaseInstance()
Verifies the expectation that theCaseExecution
is the 'case' instance.CaseTaskAssert
isCaseTask()
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 senseCaseExecutionAssert
isCompleted()
Verifies the expectation that theCaseExecution
is 'completed'.CaseExecutionAssert
isDisabled()
Verifies the expectation that theCaseExecution
is 'disabled'.CaseExecutionAssert
isEnabled()
Verifies the expectation that theCaseExecution
is 'enabled'.HumanTaskAssert
isHumanTask()
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 senseMilestoneAssert
isMilestone()
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 senseProcessTaskAssert
isProcessTask()
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 senseStageAssert
isStage()
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 senseCaseExecutionAssert
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, 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: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
public CaseExecutionAssert 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
public CaseExecutionAssert 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
public CaseExecutionAssert 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
public CaseExecutionAssert 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
public CaseExecutionAssert 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
public CaseInstanceAssert 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
public StageAssert 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
public HumanTaskAssert 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
public ProcessTaskAssert 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
public CaseTaskAssert 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
public MilestoneAssert 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
-
-