public class ProcessTaskAssert extends AbstractCaseAssert<ProcessTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>
engine| Modifier | Constructor and Description |
|---|---|
protected |
ProcessTaskAssert(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseExecution actual) |
| Modifier and Type | Method and Description |
|---|---|
protected static ProcessTaskAssert |
assertThat(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseExecution actual) |
ProcessTaskAssert |
hasNoVariables()
Verifies the expectation that the
ProcessTask holds no
case variables at all. |
ProcessTaskAssert |
hasVariables(String... names)
Verifies the expectation that the
ProcessTask holds one or
more case variables with the specified names. |
ProcessTaskAssert |
isActive()
Verifies the expectation that the
ProcessTask is in CaseExecutionState 'active'. |
ProcessTaskAssert |
isAvailable()
Verifies the expectation that the
ProcessTask is in CaseExecutionState 'available'. |
ProcessTaskAssert |
isCompleted()
Verifies the expectation that the
ProcessTask is in CaseExecutionState 'completed'. |
ProcessTaskAssert |
isDisabled()
Verifies the expectation that the
ProcessTask is in CaseExecutionState 'disabled'. |
ProcessTaskAssert |
isEnabled()
Verifies the expectation that the
ProcessTask is in CaseExecutionState 'enabled'. |
ProcessTaskAssert |
isTerminated()
Verifies the expectation that the
ProcessTask 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 ProcessTaskAssert.
|
caseExecution, caseExecutionQuery, caseTask, caseTask, descendantCaseExecution, getActual, getCurrent, getHistoricState, hasVars, historicCaseActivityInstanceQuery, humanTask, humanTask, isCaseInstance, isCaseTask, isClosed, isHumanTask, isMilestone, isProcessTask, isStage, milestone, milestone, processTask, processTask, stage, stage, toString, varscaseDefinitionQuery, caseInstanceQuery, caseService, executionQuery, externalTaskQuery, externalTaskService, formService, getExistingCurrent, getLastAssert, historicActivityInstanceQuery, historicProcessInstanceQuery, historicVariableInstanceQuery, historyService, jobQuery, managementService, processDefinitionQuery, processInstanceQuery, repositoryService, resetLastAsserts, runtimeService, taskQuery, taskServiceasInstanceOf, 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, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorprotected ProcessTaskAssert(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseExecution actual)
protected static ProcessTaskAssert assertThat(org.camunda.bpm.engine.ProcessEngine engine, org.camunda.bpm.engine.runtime.CaseExecution actual)
public ProcessTaskAssert isAvailable()
ProcessTask is in CaseExecutionState 'available'.isAvailable in class AbstractCaseAssert<ProcessTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>ProcessTaskAssertpublic ProcessTaskAssert isEnabled()
ProcessTask is in CaseExecutionState 'enabled'.isEnabled in class AbstractCaseAssert<ProcessTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>ProcessTaskAssertpublic ProcessTaskAssert isDisabled()
ProcessTask is in CaseExecutionState 'disabled'.isDisabled in class AbstractCaseAssert<ProcessTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>ProcessTaskAssertpublic ProcessTaskAssert isActive()
ProcessTask is in CaseExecutionState 'active'.isActive in class AbstractCaseAssert<ProcessTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>ProcessTaskAssertpublic ProcessTaskAssert isCompleted()
ProcessTask is in CaseExecutionState 'completed'.isCompleted in class AbstractCaseAssert<ProcessTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>ProcessTaskAssertpublic ProcessTaskAssert isTerminated()
ProcessTask is in CaseExecutionState 'terminated'.isTerminated in class AbstractCaseAssert<ProcessTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>ProcessTaskAssertpublic ProcessTaskAssert hasNoVariables()
ProcessTask holds no
case variables at all.AbstractCaseAssertpublic ProcessTaskAssert hasVariables(String... names)
ProcessTask 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.ProcessTaskAssertpublic org.assertj.core.api.MapAssert<String,Object> variables()
variables in class AbstractCaseAssert<ProcessTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>Copyright © 2022 Camunda Services GmbH. All rights reserved.