Class HumanTaskAssert
- 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<HumanTaskAssert,CaseExecution>
- 
- org.camunda.bpm.engine.test.assertions.cmmn.HumanTaskAssert
 
 
 
 
- 
- All Implemented Interfaces:
- org.assertj.core.api.Assert<HumanTaskAssert,CaseExecution>,- org.assertj.core.api.Descriptable<HumanTaskAssert>,- org.assertj.core.api.ExtensionPoints<HumanTaskAssert,CaseExecution>
 
 public class HumanTaskAssert extends AbstractCaseAssert<HumanTaskAssert,CaseExecution> 
- 
- 
Field Summary- 
Fields inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssertengine
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedHumanTaskAssert(ProcessEngine engine, CaseExecution actual)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static HumanTaskAssertassertThat(ProcessEngine engine, CaseExecution actual)HumanTaskAsserthasNoVariables()Verifies the expectation that theHumanTaskholds no case variables at all.HumanTaskAsserthasVariables(java.lang.String... names)Verifies the expectation that theHumanTaskholds one or more case variables with the specified names.HumanTaskAssertisActive()Verifies the expectation that theHumanTaskis inCaseExecutionState'active'.HumanTaskAssertisAvailable()Verifies the expectation that theHumanTaskis inCaseExecutionState'available'.HumanTaskAssertisCompleted()Verifies the expectation that theHumanTaskis inCaseExecutionState'completed'.HumanTaskAssertisDisabled()Verifies the expectation that theHumanTaskis inCaseExecutionState'disabled'.HumanTaskAssertisEnabled()Verifies the expectation that theHumanTaskis inCaseExecutionState'enabled'.HumanTaskAssertisTerminated()Verifies the expectation that theHumanTaskis inCaseExecutionState'terminated'.org.assertj.core.api.MapAssert<java.lang.String,java.lang.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.- 
Methods inherited from class org.camunda.bpm.engine.test.assertions.cmmn.AbstractCaseAssertcaseExecution, 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, vars
 - 
Methods inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssertcaseDefinitionQuery, 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.AbstractAssertasInstanceOf, 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- 
HumanTaskAssertprotected HumanTaskAssert(ProcessEngine engine, CaseExecution actual) 
 
- 
 - 
Method Detail- 
assertThatprotected static HumanTaskAssert assertThat(ProcessEngine engine, CaseExecution actual) 
 - 
isAvailablepublic HumanTaskAssert isAvailable() Verifies the expectation that theHumanTaskis inCaseExecutionState'available'.- Overrides:
- isAvailablein class- AbstractCaseAssert<HumanTaskAssert,CaseExecution>
- Returns:
- this HumanTaskAssert
 
 - 
isEnabledpublic HumanTaskAssert isEnabled() Verifies the expectation that theHumanTaskis inCaseExecutionState'enabled'.- Overrides:
- isEnabledin class- AbstractCaseAssert<HumanTaskAssert,CaseExecution>
- Returns:
- this HumanTaskAssert
 
 - 
isDisabledpublic HumanTaskAssert isDisabled() Verifies the expectation that theHumanTaskis inCaseExecutionState'disabled'.- Overrides:
- isDisabledin class- AbstractCaseAssert<HumanTaskAssert,CaseExecution>
- Returns:
- this HumanTaskAssert
 
 - 
isActivepublic HumanTaskAssert isActive() Verifies the expectation that theHumanTaskis inCaseExecutionState'active'.- Overrides:
- isActivein class- AbstractCaseAssert<HumanTaskAssert,CaseExecution>
- Returns:
- this HumanTaskAssert
 
 - 
isCompletedpublic HumanTaskAssert isCompleted() Verifies the expectation that theHumanTaskis inCaseExecutionState'completed'.- Overrides:
- isCompletedin class- AbstractCaseAssert<HumanTaskAssert,CaseExecution>
- Returns:
- this HumanTaskAssert
 
 - 
isTerminatedpublic HumanTaskAssert isTerminated() Verifies the expectation that theHumanTaskis inCaseExecutionState'terminated'.- Overrides:
- isTerminatedin class- AbstractCaseAssert<HumanTaskAssert,CaseExecution>
- Returns:
- this HumanTaskAssert
 
 - 
hasNoVariablespublic HumanTaskAssert hasNoVariables() Verifies the expectation that theHumanTaskholds no case variables at all.- Returns:
- this AbstractCaseAssert
 
 - 
hasVariablespublic HumanTaskAssert hasVariables(java.lang.String... names) Verifies the expectation that theHumanTaskholds one or more case variables with the specified names.- Parameters:
- 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.
- Returns:
- this HumanTaskAssert
 
 - 
variablespublic org.assertj.core.api.MapAssert<java.lang.String,java.lang.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.- Overrides:
- variablesin class- AbstractCaseAssert<HumanTaskAssert,CaseExecution>
- Returns:
- MapAssert(String, Object) inspecting the human task instance variables. Inspecting an empty map in case no such variables are available.
 
 
- 
 
-