public class HumanTaskAssert extends AbstractCaseAssert<HumanTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>
engine| Modifier | Constructor and Description |
|---|---|
protected |
HumanTaskAssert(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseExecution actual) |
| Modifier and Type | Method and Description |
|---|---|
protected static HumanTaskAssert |
assertThat(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseExecution actual) |
HumanTaskAssert |
hasNoVariables()
Verifies the expectation that the
HumanTask holds no
case variables at all. |
HumanTaskAssert |
hasVariables(String... names)
Verifies the expectation that the
HumanTask holds one or
more case variables with the specified names. |
HumanTaskAssert |
isActive()
Verifies the expectation that the
HumanTask is in CaseExecutionState 'active'. |
HumanTaskAssert |
isAvailable()
Verifies the expectation that the
HumanTask is in CaseExecutionState 'available'. |
HumanTaskAssert |
isCompleted()
Verifies the expectation that the
HumanTask is in CaseExecutionState 'completed'. |
HumanTaskAssert |
isDisabled()
Verifies the expectation that the
HumanTask is in CaseExecutionState 'disabled'. |
HumanTaskAssert |
isEnabled()
Verifies the expectation that the
HumanTask is in CaseExecutionState 'enabled'. |
HumanTaskAssert |
isFailed()
Verifies the expectation that the
HumanTask is in CaseExecutionState 'failed'. |
HumanTaskAssert |
isSuspended()
Verifies the expectation that the
HumanTask is in CaseExecutionState 'suspended'. |
HumanTaskAssert |
isTerminated()
Verifies the expectation that the
HumanTask is in CaseExecutionState 'terminated'. |
org.assertj.core.api.MapAssert<String,Object> |
variables()
Enter into a chained map assert inspecting the variables currently available in the context of the human task instance
under test of this HumanTaskAssert.
|
caseExecution, caseExecution, caseExecution, caseExecutionQuery, caseTask, caseTask, caseTask, descendantCaseExecution, getActual, getCurrent, getHistoric, hasVars, historicCaseActivityInstanceQuery, humanTask, humanTask, humanTask, isCaseInstance, isCaseTask, isClosed, isHumanTask, isMilestone, isProcessTask, isStage, milestone, milestone, milestone, processTask, processTask, processTask, stage, stage, stage, toString, 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 HumanTaskAssert(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseExecution actual)
protected static HumanTaskAssert assertThat(org.camunda.bpm.engine.ProcessEngine engine, org.camunda.bpm.engine.runtime.CaseExecution actual)
public HumanTaskAssert isAvailable()
HumanTask is in CaseExecutionState 'available'.isAvailable in class AbstractCaseAssert<HumanTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>HumanTaskAssertpublic HumanTaskAssert isEnabled()
HumanTask is in CaseExecutionState 'enabled'.isEnabled in class AbstractCaseAssert<HumanTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>HumanTaskAssertpublic HumanTaskAssert isDisabled()
HumanTask is in CaseExecutionState 'disabled'.isDisabled in class AbstractCaseAssert<HumanTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>HumanTaskAssertpublic HumanTaskAssert isActive()
HumanTask is in CaseExecutionState 'active'.isActive in class AbstractCaseAssert<HumanTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>HumanTaskAssertpublic HumanTaskAssert isSuspended()
HumanTask is in CaseExecutionState 'suspended'.isSuspended in class AbstractCaseAssert<HumanTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>HumanTaskAssertpublic HumanTaskAssert isCompleted()
HumanTask is in CaseExecutionState 'completed'.isCompleted in class AbstractCaseAssert<HumanTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>HumanTaskAssertpublic HumanTaskAssert isFailed()
HumanTask is in CaseExecutionState 'failed'.isFailed in class AbstractCaseAssert<HumanTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>HumanTaskAssertpublic HumanTaskAssert isTerminated()
HumanTask is in CaseExecutionState 'terminated'.isTerminated in class AbstractCaseAssert<HumanTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>HumanTaskAssertpublic HumanTaskAssert hasNoVariables()
HumanTask holds no
case variables at all.AbstractCaseAssertpublic HumanTaskAssert hasVariables(String... names)
HumanTask holds one or
more case variables with the specified names.names - the names of the human task variables expected to exist. In
case no variable name is given, the existence of at least one
variable will be verified.HumanTaskAssertpublic org.assertj.core.api.MapAssert<String,Object> variables()
variables in class AbstractCaseAssert<HumanTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>Copyright © 2019 Camunda Services GmbH. All rights reserved.