Class ExternalTaskAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<S,A>
org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert<ExternalTaskAssert,ExternalTask>
org.camunda.bpm.engine.test.assertions.bpmn.ExternalTaskAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<ExternalTaskAssert,
,ExternalTask> org.assertj.core.api.Descriptable<ExternalTaskAssert>
,org.assertj.core.api.ExtensionPoints<ExternalTaskAssert,
ExternalTask>
Assertions for an
ExternalTask
.-
Field Summary
Fields inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert
engine
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Constructor Summary
ModifierConstructorDescriptionprotected
ExternalTaskAssert
(ProcessEngine engine, ExternalTask actual) -
Method Summary
Modifier and TypeMethodDescriptionprotected static ExternalTaskAssert
assertThat
(ProcessEngine engine, ExternalTask actual) protected ExternalTask
hasActivityId
(String activityId) Verifies the activity id of anExternalTask
.hasTopicName
(String topicName) Verifies the topic name of anExternalTask
.protected String
toString
(ExternalTask task) Methods inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert
caseDefinitionQuery, caseExecutionQuery, caseInstanceQuery, caseService, executionQuery, externalTaskQuery, externalTaskService, formService, getActual, getExistingCurrent, getLastAssert, historicActivityInstanceQuery, historicCaseActivityInstanceQuery, historicProcessInstanceQuery, historicVariableInstanceQuery, historyService, jobQuery, managementService, processDefinitionQuery, processInstanceQuery, repositoryService, resetLastAsserts, runtimeService, taskQuery, taskService
Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, 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, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs
-
Constructor Details
-
ExternalTaskAssert
-
-
Method Details
-
assertThat
-
getCurrent
- Specified by:
getCurrent
in classAbstractProcessAssert<ExternalTaskAssert,
ExternalTask>
-
hasTopicName
Verifies the topic name of anExternalTask
.- Parameters:
topicName
- the expected value of the topic- Returns:
- this
ExternalTaskAssert
-
hasActivityId
Verifies the activity id of anExternalTask
.- Parameters:
activityId
- the expected value of the external task activityId attribute- Returns:
- this
ExternalTaskAssert
-
toString
- Specified by:
toString
in classAbstractProcessAssert<ExternalTaskAssert,
ExternalTask>
-