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
engineFields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExternalTaskAssert(ProcessEngine engine, ExternalTask actual) -
Method Summary
Modifier and TypeMethodDescriptionprotected static ExternalTaskAssertassertThat(ProcessEngine engine, ExternalTask actual) protected ExternalTaskhasActivityId(String activityId) Verifies the activity id of anExternalTask.hasTopicName(String topicName) Verifies the topic name of anExternalTask.protected StringtoString(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, taskServiceMethods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, 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, withThreadDumpOnErrorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Constructor Details
-
ExternalTaskAssert
-
-
Method Details
-
assertThat
-
getCurrent
- Specified by:
getCurrentin 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:
toStringin classAbstractProcessAssert<ExternalTaskAssert,ExternalTask>
-