public class CaseInstanceAssert extends AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>
engine| Modifier | Constructor and Description |
|---|---|
protected |
CaseInstanceAssert(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseInstance actual) |
| Modifier and Type | Method and Description |
|---|---|
protected static CaseInstanceAssert |
assertThat(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseInstance actual) |
CaseTaskAssert |
caseTask(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
Enter into a chained
CaseTaskAssert inspecting the one and mostly
one 'caseTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
CaseTaskAssert |
caseTask(String activityId)
Enter into a chained
CaseTaskAssert inspecting the one and mostly
one 'caseTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
protected int |
getHistoricState()
Retrieve HistoricCaseActivityInstance for object under test from history database
|
HumanTaskAssert |
humanTask(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
Enter into a chained
HumanTaskAssert inspecting the one and mostly
one 'humanTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
HumanTaskAssert |
humanTask(String activityId)
Enter into a chained
HumanTaskAssert inspecting the one and mostly
one 'humanTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
CaseInstanceAssert |
isActive()
Verifies the expectation that the
CaseExecution is 'active'. |
CaseInstanceAssert |
isClosed()
Verifies the expectation that the
CaseExecution is 'closed'. |
CaseInstanceAssert |
isCompleted()
Verifies the expectation that the
CaseExecution is 'completed'. |
CaseInstanceAssert |
isTerminated()
Verifies the expectation that the
CaseExecution is 'terminated'. |
MilestoneAssert |
milestone(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
Enter into a chained
MilestoneAssert inspecting the one and mostly
one 'milestone' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
MilestoneAssert |
milestone(String activityId)
Enter into a chained
MilestoneAssert inspecting the one and mostly
one 'milestone' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
ProcessTaskAssert |
processTask(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
Enter into a chained
ProcessTaskAssert inspecting the one and mostly
one 'processTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
ProcessTaskAssert |
processTask(String activityId)
Enter into a chained
ProcessTaskAssert inspecting the one and mostly
one 'processTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
StageAssert |
stage(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
Enter into a chained
StageAssert inspecting the one and mostly
one 'stage' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
StageAssert |
stage(String activityId)
Enter into a chained
StageAssert inspecting the one and mostly
one 'stage' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
caseExecution, caseExecutionQuery, descendantCaseExecution, getActual, getCurrent, hasVars, historicCaseActivityInstanceQuery, isAvailable, isCaseInstance, isCaseTask, isDisabled, isEnabled, isHumanTask, isMilestone, isProcessTask, isStage, toString, variables, varscaseDefinitionQuery, caseInstanceQuery, caseService, executionQuery, externalTaskQuery, externalTaskService, formService, getExistingCurrent, getLastAssert, historicActivityInstanceQuery, historicProcessInstanceQuery, historicVariableInstanceQuery, historyService, jobQuery, managementService, processDefinitionQuery, processInstanceQuery, repositoryService, resetLastAsserts, runtimeService, taskQuery, taskServiceas, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, setCustomRepresentation, throwAssertionError, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnErrorprotected CaseInstanceAssert(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseInstance actual)
protected static CaseInstanceAssert assertThat(org.camunda.bpm.engine.ProcessEngine engine, org.camunda.bpm.engine.runtime.CaseInstance actual)
public CaseInstanceAssert isActive()
AbstractCaseAssertCaseExecution is 'active'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes senseisActive in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public CaseInstanceAssert isCompleted()
AbstractCaseAssertCaseExecution is 'completed'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes senseisCompleted in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public CaseInstanceAssert isClosed()
AbstractCaseAssertCaseExecution is 'closed'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes senseisClosed in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public CaseInstanceAssert isTerminated()
AbstractCaseAssertCaseExecution is 'terminated'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes senseisTerminated in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public HumanTaskAssert humanTask(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
AbstractCaseAssertHumanTaskAssert inspecting the one and mostly
one 'humanTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'humanTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sensehumanTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>query - CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'humanTask'.public HumanTaskAssert humanTask(String activityId)
AbstractCaseAssertHumanTaskAssert inspecting the one and mostly
one 'humanTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'humanTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sensehumanTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>activityId - activity if further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'humanTask'.public CaseTaskAssert caseTask(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
AbstractCaseAssertCaseTaskAssert inspecting the one and mostly
one 'caseTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'caseTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sensecaseTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>query - CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'caseTask'.public CaseTaskAssert caseTask(String activityId)
AbstractCaseAssertCaseTaskAssert inspecting the one and mostly
one 'caseTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'caseTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sensecaseTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>activityId - activity if further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'caseTask'.public ProcessTaskAssert processTask(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
AbstractCaseAssertProcessTaskAssert inspecting the one and mostly
one 'processTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'processTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes senseprocessTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>query - CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'processTask'.public ProcessTaskAssert processTask(String activityId)
AbstractCaseAssertProcessTaskAssert inspecting the one and mostly
one 'processTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'processTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes senseprocessTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>activityId - activity if further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'processTask'.public StageAssert stage(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
AbstractCaseAssertStageAssert inspecting the one and mostly
one 'stage' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'stage'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sensestage in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>query - CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'stage'.public StageAssert stage(String activityId)
AbstractCaseAssertStageAssert inspecting the one and mostly
one 'stage' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'stage'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sensestage in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>activityId - activity if further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'stage'.public MilestoneAssert milestone(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
AbstractCaseAssertMilestoneAssert inspecting the one and mostly
one 'milestone' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'milestone'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sensemilestone in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>query - CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'milestone'.public MilestoneAssert milestone(String activityId)
AbstractCaseAssertMilestoneAssert inspecting the one and mostly
one 'milestone' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'milestone'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sensemilestone in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>activityId - activity if further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'milestone'.protected int getHistoricState()
AbstractCaseAssertgetHistoricState in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>Copyright © 2019 Camunda Services GmbH. All rights reserved.