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) |
CaseExecutionAssert |
caseExecution(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
Retrieve a child
CaseExecution currently available in the context of
the actual caseExecution under test of this AbstractCaseAssert. |
CaseTaskAssert |
caseTask()
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(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. |
HumanTaskAssert |
humanTask()
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(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 |
isFailed()
Verifies the expectation that the
CaseExecution is 'failed'. |
CaseInstanceAssert |
isSuspended()
Verifies the expectation that the
CaseExecution is 'suspended'. |
CaseInstanceAssert |
isTerminated()
Verifies the expectation that the
CaseExecution is 'terminated'. |
MilestoneAssert |
milestone()
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(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()
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(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()
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(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, caseExecution, caseExecutionQuery, descendantCaseExecution, getActual, getCurrent, getHistoric, hasVars, historicCaseActivityInstanceQuery, isAvailable, isCaseInstance, isCaseTask, isDisabled, isEnabled, isHumanTask, isMilestone, isProcessTask, isStage, toString, variables, varsassertApi, authorizationService, caseDefinitionQuery, caseInstanceQuery, caseService, executionQuery, formService, getExistingCurrent, getLastAssert, historicActivityInstanceQuery, historicDetailQuery, historicProcessInstanceQuery, historicTaskInstanceQuery, historicVariableInstanceQuery, historyService, identityService, jobQuery, managementService, processDefinitionQuery, processInstanceQuery, repositoryService, resetLastAsserts, runtimeService, supportsApi, taskQuery, taskService, variableInstanceQueryas, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, 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, 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 CaseInstanceAssert isFailed()
AbstractCaseAssertCaseExecution is 'failed'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes senseisFailed in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public CaseInstanceAssert isSuspended()
AbstractCaseAssertCaseExecution is 'suspended'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes senseisSuspended 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 HumanTaskAssert humanTask()
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>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 CaseTaskAssert caseTask()
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'.caseTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>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 ProcessTaskAssert processTask()
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'.processTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>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 StageAssert stage()
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'.stage in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>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'.public MilestoneAssert milestone()
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'.milestone in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public CaseExecutionAssert caseExecution(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
AbstractCaseAssertCaseExecution 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.caseExecution 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.to find grandchilds and other descendants, too.Copyright © 2019 Camunda Services GmbH. All rights reserved.