code
stringlengths 25
201k
| docstring
stringlengths 19
96.2k
| func_name
stringlengths 0
235
| language
stringclasses 1
value | repo
stringlengths 8
51
| path
stringlengths 11
314
| url
stringlengths 62
377
| license
stringclasses 7
values |
|---|---|---|---|---|---|---|---|
public static ProcessInstance calledProcessInstance(String processDefinitionKey, ProcessInstance processInstance) {
Assertions.assertThat(processDefinitionKey).isNotNull();
return calledProcessInstance(processInstanceQuery().processDefinitionKey(processDefinitionKey), processInstance);
}
|
Helper method to easily access the only called process instance with the
given processDefinitionKey currently available in the context
of the given process instance.
@param processDefinitionKey the key of the process instance that should
be retrieved.
@param processInstance the process instance for which
a called process instance should be retrieved.
@return the only such process instance called by the given process instance.
May return null if no such process instance exists.
@throws java.lang.IllegalStateException in case more
than one process instance is delivered by the underlying
query.
|
calledProcessInstance
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static ProcessInstance calledProcessInstance(ProcessInstanceQuery processInstanceQuery) {
ProcessInstanceAssert lastAssert = AbstractProcessAssert.getLastAssert(ProcessInstanceAssert.class);
if (lastAssert == null)
throw new IllegalStateException(
"Call a process instance assertion first - " +
"e.g. assertThat(processInstance)... !"
);
return calledProcessInstance(processInstanceQuery, lastAssert.getActual());
}
|
Helper method to easily access the only called process instance compliant to
a given processInstanceQuery and currently available in the context
of the last asserted process instance.
@param processInstanceQuery the query with which the called process instance should
be retrieved. This query will be further narrowed to the last asserted
process instance.
@return the only such process instance called by the last asserted process instance and
compliant to the given query. May return null in case no such task exists.
@throws java.lang.IllegalStateException in case more
than one process instance is delivered by the underlying query or in case no
process instance was asserted yet.
|
calledProcessInstance
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static ProcessInstance calledProcessInstance(ProcessInstanceQuery processInstanceQuery, ProcessInstance processInstance) {
return assertThat(processInstance).isNotNull().calledProcessInstance(processInstanceQuery).getActual();
}
|
Helper method to easily access the only called process instance compliant to
a given processInstanceQuery and currently available in the context of the given
process instance.
@param processInstanceQuery the query with which the process instance should
be retrieved. This query will be further narrowed to the given process
instance.
@param processInstance the process instance for which
a called process instance should be retrieved.
@return the only such process instance called by the given process instance and
compliant to the given query. May return null in
case no such process instance exists.
@throws java.lang.IllegalStateException in case more
than one instance is delivered by the underlying
query.
|
calledProcessInstance
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static Job job() {
return job(jobQuery());
}
|
Helper method to easily access the only job currently
available in the context of the last asserted process
instance.
@return the only job of the last asserted process
instance. May return null if no such job exists.
@throws java.lang.IllegalStateException in case more
than one job is delivered by the underlying
query or in case no process instance was asserted
yet.
|
job
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static Job job(ProcessInstance processInstance) {
return job(jobQuery(), processInstance);
}
|
Helper method to easily access the only job currently
available in the context of the given process instance.
@param processInstance the process instance for which
a job should be retrieved.
@return the only job of the process instance. May
return null if no such task exists.
@throws java.lang.IllegalStateException in case more
than one job is delivered by the underlying
query.
|
job
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static Job job(String activityId) {
ProcessInstanceAssert lastAssert = AbstractProcessAssert.getLastAssert(ProcessInstanceAssert.class);
if (lastAssert == null)
throw new IllegalStateException(
"Call a process instance assertion first - " +
"e.g. assertThat(processInstance)... !"
);
return job(activityId, lastAssert.getActual());
}
|
Helper method to easily access the only job with the
given activityId currently available in the context
of the last asserted process instance.
@param activityId the id of the job that should
be retrieved.
@return the only job of the last asserted process
instance. May return null if no such job exists.
@throws java.lang.IllegalStateException in case more
than one job is delivered by the underlying
query or in case no process instance was asserted
yet.
|
job
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static Job job(String activityId, ProcessInstance processInstance) {
return assertThat(processInstance).isNotNull().job(activityId).getActual();
}
|
Helper method to easily access the only job with the
given activityId currently available in the context
of the given process instance.
@param activityId the activityId of the job that should
be retrieved.
@param processInstance the process instance for which
a job should be retrieved.
@return the only job of the given process instance. May
return null if no such job exists.
@throws java.lang.IllegalStateException in case more
than one job is delivered by the underlying
query.
|
job
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static Job job(JobQuery jobQuery) {
ProcessInstanceAssert lastAssert = AbstractProcessAssert.getLastAssert(ProcessInstanceAssert.class);
if (lastAssert == null)
throw new IllegalStateException(
"Call a process instance assertion first - " +
"e.g. assertThat(processInstance)... !"
);
return job(jobQuery, lastAssert.getActual());
}
|
Helper method to easily access the only job compliant to
a given jobQuery and currently available in the context
of the last asserted process instance.
@param jobQuery the query with which the job should
be retrieved. This query will be further narrowed
to the last asserted process instance.
@return the only job of the last asserted process instance
and compliant to the given query. May return null
in case no such task exists.
@throws java.lang.IllegalStateException in case more
than one job is delivered by the underlying
query or in case no process instance was asserted
yet.
|
job
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static Job job(JobQuery jobQuery, ProcessInstance processInstance) {
return assertThat(processInstance).isNotNull().job(jobQuery).getActual();
}
|
Helper method to easily access the only job compliant to
a given jobQuery and currently available in the context
of the given process instance.
@param jobQuery the query with which the job should
be retrieved. This query will be further narrowed
to the given process instance.
@param processInstance the process instance for which
a job should be retrieved.
@return the only job of the given process instance and
compliant to the given query. May return null in
case no such job exists.
@throws java.lang.IllegalStateException in case more
than one job is delivered by the underlying
query.
|
job
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static Task claim(Task task, String assigneeUserId) {
if (task == null || assigneeUserId == null)
throw new IllegalArgumentException(format("Illegal call " +
"of claim(task = '%s', assigneeUserId = '%s') - both must " +
"not be null!", task, assigneeUserId));
taskService().claim(task.getId(), assigneeUserId);
return taskQuery().taskId(task.getId()).singleResult();
}
|
Helper method to easily claim a task for a specific
assignee.
@param task Task to be claimed for an assignee
@param assigneeUserId userId of assignee for which
the task should be claimed
@return the assigned task - properly refreshed to its
assigned state.
|
claim
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static Task unclaim(Task task) {
if (task == null)
throw new IllegalArgumentException(format("Illegal call " +
"of unclaim(task = '%s') - task must " +
"not be null!", task));
taskService().claim(task.getId(), null);
return taskQuery().taskId(task.getId()).singleResult();
}
|
Helper method to easily unclaim a task.
@param task Task to be claimed for an assignee
@return the assigned task - properly refreshed to its
unassigned state.
|
unclaim
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static void complete(Task task, Map<String, Object> variables) {
if (task == null || variables == null)
throw new IllegalArgumentException(format("Illegal call of complete(task = '%s', variables = '%s') - both must not be null!", task, variables));
taskService().complete(task.getId(), variables);
}
|
Helper method to easily complete a task and pass some
process variables.
@param task Task to be completed
@param variables Process variables to be passed to the
process instance when completing the task. For
setting those variables, you can use
withVariables(String key, Object value, ...)
|
complete
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static void complete(Task task) {
if (task == null)
throw new IllegalArgumentException("Illegal call of complete(task = 'null') - must not be null!");
taskService().complete(task.getId());
}
|
Helper method to easily complete a task.
@param task Task to be completed
|
complete
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static void complete(ExternalTask externalTask) {
if (externalTask == null) {
throw new IllegalArgumentException("Illegal call of completeExternalTask(externalTask = 'null') - must not be null!");
}
complete(externalTask, Collections.<String, Object>emptyMap());
}
|
Helper method to easily fetch, lock and complete an external task.<p>
Note: if multiple external tasks exist that can be locked for the topic of
the given external task, this method might throw an
{@link IllegalStateException} if an external task with a different id is
locked by chance. In this case, it is more advisable to use the
{@link #fetchAndLock(String, String, int) fetchAndLock} and
{@link #complete(LockedExternalTask)} methods to achieve reliable results.
@param externalTask
External task to be completed
|
complete
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static void complete(ExternalTask externalTask, Map<String, Object> variables) {
if (externalTask == null || variables == null) {
throw new IllegalArgumentException(format("Illegal call of completeExternalTask(externalTask = '%s', variables = '%s') - both must not be null!", externalTask, variables));
}
complete(externalTask, variables, Collections.EMPTY_MAP);
}
|
Helper method to easily fetch, lock and complete an external task.<p>
Note: if multiple external tasks exist that can be locked for the topic of
the given external task, this method might throw an
{@link IllegalStateException} if an external task with a different id is
locked by chance. In this case, it is more advisable to use the
{@link #fetchAndLock(String, String, int) fetchAndLock} and
{@link #complete(LockedExternalTask, Map)} methods to achieve reliable results.
@param externalTask
External task to be completed
@param variables
Process variables to be passed to the process instance when
completing the task. For setting those variables, you can use
withVariables(String key, Object value, ...)
|
complete
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static void complete(ExternalTask externalTask, Map<String, Object> variables, Map<String, Object> localVariables) {
if (externalTask == null || (variables == null && localVariables == null)) {
throw new IllegalArgumentException(format("Illegal call of completeExternalTask(externalTask = '%s', variables = '%s', localvariables = '%s') - provide external task and either variables or local variables.", externalTask, variables, localVariables));
}
List<LockedExternalTask> lockedTasks = fetchAndLock(externalTask.getTopicName(), DEFAULT_WORKER_EXTERNAL_TASK, 1);
if (lockedTasks.isEmpty()) {
throw new NotFoundException(format("No lockable external task found for externalTask = '%s', variables = '%s', localVariables = '%s'", externalTask, variables, localVariables));
}
if (!lockedTasks.get(0).getId().equals(externalTask.getId())) {
throw new IllegalStateException(format("Multiple external tasks found for externalTask = '%s', variables = '%s', localVariables = '%s'", externalTask, variables, localVariables));
}
complete(lockedTasks.get(0), variables, localVariables);
}
|
Helper method to easily fetch, lock and complete an external task.<p>
Note: if multiple external tasks exist that can be locked for the topic of
the given external task, this method might throw an
{@link IllegalStateException} if an external task with a different id is
locked by chance. In this case, it is more advisable to use the
{@link #fetchAndLock(String, String, int) fetchAndLock} and
{@link #complete(LockedExternalTask, Map)} methods to achieve reliable results.
@param externalTask
External task to be completed
@param variables
Process variables to be passed to the process instance when
completing the task. For setting those variables, you can use
withVariables(String key, Object value, ...)
@param localVariables
Local process variables to be passed to the process instance when
completing the task. For setting those variables, you can use
withVariables(String key, Object value, ...)
|
complete
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static List<LockedExternalTask> fetchAndLock(String topic, String workerId, int maxResults) {
if (workerId == null || topic == null) {
throw new IllegalArgumentException(format("Illegal call of fetchAndLock(topic = '%s', workerId = '%s', maxResults = '%s') - all must not be null!", topic, workerId, maxResults));
}
return externalTaskService().fetchAndLock(maxResults, workerId)
.topic(topic, DEFAULT_LOCK_DURATION_EXTERNAL_TASK)
.execute();
}
|
Helper method to easily fetch and lock external tasks from a given topic
using a given workerId. The tasks will be locked for
{@link #DEFAULT_LOCK_DURATION_EXTERNAL_TASK} milliseconds.
@param topic
the name of the topic to query external tasks from
@param workerId
the id of the worker to lock the tasks for
@param maxResults
the maximum number of tasks to return
@return list of external tasks locked for the given workerId
|
fetchAndLock
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static void complete(LockedExternalTask lockedExternalTask) {
if (lockedExternalTask == null) {
throw new IllegalArgumentException("Illegal call of completeExternalTask(lockedExternalTask = 'null') - must not be null!");
}
complete(lockedExternalTask, Collections.<String, Object>emptyMap());
}
|
Helper method to easily complete a locked external task.
@param lockedExternalTask
an external task that was locked using the
{@link #fetchAndLock(String, String, int) fetchAndLock} method
|
complete
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static void complete(LockedExternalTask lockedExternalTask, Map<String, Object> variables) {
if (lockedExternalTask == null || variables == null) {
throw new IllegalArgumentException(format("Illegal call of completeExternalTask(lockedExternalTask = '%s', variables = '%s') - both must not be null!", lockedExternalTask, variables));
}
complete(lockedExternalTask, variables, Collections.EMPTY_MAP);
}
|
Helper method to easily complete a locked external task.
@param lockedExternalTask
an external task that was locked using the
{@link #fetchAndLock(String, String, int) fetchAndLock} method
@param variables
Process variables to be passed to the process instance when
completing the task. For setting those variables, you can use
withVariables(String key, Object value, ...)
|
complete
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static void complete(LockedExternalTask lockedExternalTask, Map<String, Object> variables, Map<String, Object> localVariables) {
if (lockedExternalTask == null || (variables == null && localVariables == null)) {
throw new IllegalArgumentException(format("Illegal call of completeExternalTask(lockedExternalTask = '%s', variables = '%s', localVariables = '%s') - provide locked external task and either variables or local variables.", lockedExternalTask, variables, localVariables));
}
externalTaskService().complete(lockedExternalTask.getId(), lockedExternalTask.getWorkerId(), variables, localVariables);
}
|
Helper method to easily complete a locked external task.
@param lockedExternalTask
an external task that was locked using the
{@link #fetchAndLock(String, String, int) fetchAndLock} method
@param variables
Process variables to be passed to the process instance when
completing the task. For setting those variables, you can use
withVariables(String key, Object value, ...)
@param localVariables
Local process variables to be passed to the process instance when
completing the task. For setting those variables, you can use
withVariables(String key, Object value, ...)
|
complete
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public static void execute(Job job) {
if (job == null)
throw new IllegalArgumentException(format("Illegal call of execute(job = '%s') - must not be null!", job));
Job current = jobQuery().jobId(job.getId()).singleResult();
if (current == null)
throw new IllegalStateException(format("Illegal state when calling execute(job = '%s') - job does not exist anymore!", job));
managementService().executeJob(job.getId());
}
|
Helper method to easily execute a job.
@param job Job to be executed.
|
execute
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/BpmnAwareTests.java
|
Apache-2.0
|
public ExternalTaskAssert hasTopicName(final String topicName) {
final ExternalTask current = getExistingCurrent();
Assertions.assertThat(topicName).isNotNull();
Assertions.assertThat(current.getTopicName())
.overridingErrorMessage("Expecting %s to have topic name '%s', but found it to be '%s'!",
toString(current),
topicName,
current.getTopicName())
.isEqualTo(topicName);
return this;
}
|
Verifies the topic name of an {@link ExternalTask}.
@param topicName
the expected value of the topic
@return this {@link ExternalTaskAssert}
|
hasTopicName
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ExternalTaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ExternalTaskAssert.java
|
Apache-2.0
|
public JobAssert hasId(final String expectedId) {
Job current = getExistingCurrent();
Assertions.assertThat(expectedId).isNotEmpty();
final String actualId = actual.getId();
Assertions.assertThat(actualId)
.overridingErrorMessage(
"Expecting %s to have id '%s', but found it to be '%s'",
toString(current), expectedId, actualId
)
.isEqualTo(expectedId);
return this;
}
|
Verifies the expectation of a specific id for the {@link Job}.
@param expectedId the expected job id
@return this {@link JobAssert}
@see org.camunda.bpm.engine.runtime.Job#getId()
|
hasId
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/JobAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/JobAssert.java
|
Apache-2.0
|
public JobAssert hasDueDate(final Date expectedDueDate) {
Job current = getExistingCurrent();
Assertions.assertThat(expectedDueDate).isNotNull();
final Date actualDuedate = current.getDuedate();
Assertions.assertThat(actualDuedate)
.overridingErrorMessage(
"Expecting %s to be due at '%s', but found it to be due at '%s'",
toString(current), expectedDueDate, actualDuedate
)
.isEqualTo(expectedDueDate);
return this;
}
|
Verifies the expectation of a specific due date for the {@link Job}.
@param expectedDueDate the expected due date
@return this {@link JobAssert}
@see org.camunda.bpm.engine.runtime.Job#getDuedate()
|
hasDueDate
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/JobAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/JobAssert.java
|
Apache-2.0
|
public JobAssert hasProcessInstanceId(final String expectedProcessInstanceId) {
Job current = getExistingCurrent();
Assertions.assertThat(expectedProcessInstanceId).isNotNull();
final String actualProcessInstanceId = current.getProcessInstanceId();
Assertions.assertThat(actualProcessInstanceId)
.overridingErrorMessage(
"Expecting %s to have process instance id '%s', but found it to be '%s'",
toString(current), expectedProcessInstanceId, actualProcessInstanceId
)
.isEqualTo(expectedProcessInstanceId);
return this;
}
|
Verifies the expectation of a specific process instance id for the {@link Job}.
@param expectedProcessInstanceId the expected process instance id
@return this {@link JobAssert}
@see org.camunda.bpm.engine.runtime.Job#getProcessInstanceId()
|
hasProcessInstanceId
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/JobAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/JobAssert.java
|
Apache-2.0
|
public JobAssert hasExecutionId(final String expectedExecutionId) {
Job current = getExistingCurrent();
Assertions.assertThat(expectedExecutionId).isNotNull();
final String actualExecutionId = current.getExecutionId();
Assertions.assertThat(actualExecutionId)
.overridingErrorMessage(
"Expecting %s to have execution id '%s', but found it to be '%s'",
toString(current), expectedExecutionId, actualExecutionId
)
.isEqualTo(expectedExecutionId);
return this;
}
|
Verifies the expectation of a specific execution id for the {@link Job}.
@param expectedExecutionId the expected execution id
@return this {@link JobAssert}
@see org.camunda.bpm.engine.runtime.Job#getExecutionId()
|
hasExecutionId
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/JobAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/JobAssert.java
|
Apache-2.0
|
public JobAssert hasRetries(final int expectedRetries) {
Job current = getExistingCurrent();
final int actualRetries = current.getRetries();
Assertions.assertThat(actualRetries)
.overridingErrorMessage(
"Expecting %s to have %s retries left, but found %s retries",
toString(current), expectedRetries, actualRetries
)
.isEqualTo(expectedRetries);
return this;
}
|
Verifies the expectation of a specific number of retries left for the {@link Job}.
@param expectedRetries the expected number of retries
@return this {@link JobAssert}
@see org.camunda.bpm.engine.runtime.Job#getExecutionId()
|
hasRetries
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/JobAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/JobAssert.java
|
Apache-2.0
|
public JobAssert hasExceptionMessage() {
Job current = getExistingCurrent();
final String actualExceptionMessage = current.getExceptionMessage();
Assertions.assertThat(actualExceptionMessage)
.overridingErrorMessage(
"Expecting %s to have an exception message, but found it to be null or empty: '%s'",
toString(current), actualExceptionMessage
)
.isNotEmpty();
return this;
}
|
Verifies the expectation of the existence of an exception message
for the {@link Job}.
@return this {@link JobAssert}
@see org.camunda.bpm.engine.runtime.Job#getExceptionMessage()
|
hasExceptionMessage
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/JobAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/JobAssert.java
|
Apache-2.0
|
public ProcessInstanceAssert isWaitingAt(final String... activityIds) {
return isWaitingAt(activityIds, true, false);
}
|
Verifies the expectation that the {@link ProcessInstance} is currently waiting
at one or more specified activities.
@param activityIds the id's of the activities the process instance is Expecting to
be waiting at
@return this {@link ProcessInstanceAssert}
|
isWaitingAt
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ProcessInstanceAssert isNotWaitingAt(final String... activityIds) {
return isWaitingAt(activityIds, false, false);
}
|
Verifies the expectation that the {@link ProcessInstance} is currently NOT waiting
at one or more specified activities.
@param activityIds the id's of the activities the process instance is expected
not to be waiting at
@return this {@link ProcessInstanceAssert}
|
isNotWaitingAt
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ProcessInstanceAssert hasPassed(final String... activityIds) {
return hasPassed(activityIds, true, false);
}
|
Verifies the expectation that the {@link ProcessInstance} has passed one or
more specified activities.
@param activityIds the id's of the activities expected to have been passed
@return this {@link ProcessInstanceAssert}
|
hasPassed
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ProcessInstanceAssert hasPassedInOrder(final String... activityIds) {
return hasPassed(activityIds, true, true);
}
|
Verifies the expectation that the {@link ProcessInstance} has passed one or
more specified activities exactly in the given order. Note that this can not be
guaranteed for instances of concurrent activities (see
{@link HistoricActivityInstanceQuery#orderPartiallyByOccurrence() orderPartiallyByOccurrence}
for details).
@param activityIds the id's of the activities expected to have been passed
@return this {@link ProcessInstanceAssert}
|
hasPassedInOrder
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ProcessInstanceAssert hasVariables(final String... names) {
return hasVars(names);
}
|
Verifies the expectation that the {@link ProcessInstance} holds one or
more process variables with the specified names.
@param names the names of the process variables expected to exist. In
case no variable name is given, the existence of at least one
variable will be verified.
@return this {@link ProcessInstanceAssert}
|
hasVariables
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ProcessInstanceAssert hasProcessDefinitionKey(String processDefinitionKey) {
isNotNull();
final String message = "Expecting %s to have process definition key '%s', " +
"but instead found it to have process definition key '%s'.";
ProcessDefinition processDefinition = processDefinitionQuery().singleResult();
Assertions.assertThat(processDefinitionKey)
.overridingErrorMessage(message, toString(actual), processDefinitionKey, processDefinition.getKey())
.isEqualTo(processDefinition.getKey());
return this;
}
|
Verifies the expectation that the {@link ProcessInstance} has the
given processDefinitionKey.
@param processDefinitionKey the expected key
@return this {@link ProcessInstanceAssert}
|
hasProcessDefinitionKey
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ProcessInstanceAssert hasBusinessKey(String businessKey) {
isNotNull();
final String message = "Expecting %s to have business key '%s', " +
"but instead found it to have business key '%s'.";
String currentBusinessKey = getCurrent().getBusinessKey();
Assertions.assertThat(businessKey)
.overridingErrorMessage(message, toString(actual), businessKey, currentBusinessKey)
.isEqualTo(currentBusinessKey);
return this;
}
|
Verifies the expectation that the {@link ProcessInstance} has the
given businessKey.
@param businessKey the expected key
@return this {@link ProcessInstanceAssert}
|
hasBusinessKey
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ProcessInstanceAssert isEnded() {
isNotNull();
final String message = "Expecting %s to be ended, but it is not!. (Please " +
"make sure you have set the history service of the engine to at least " +
"'activity' or a higher level before making use of this assertion!)";
Assertions.assertThat(processInstanceQuery().singleResult())
.overridingErrorMessage(message,
toString(actual))
.isNull();
Assertions.assertThat(historicProcessInstanceQuery().singleResult())
.overridingErrorMessage(message,
toString(actual))
.isNotNull();
return this;
}
|
Verifies the expectation that the {@link ProcessInstance} is ended.
@return this {@link ProcessInstanceAssert}
|
isEnded
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ProcessInstanceAssert isSuspended() {
ProcessInstance current = getExistingCurrent();
Assertions.assertThat(current.isSuspended())
.overridingErrorMessage("Expecting %s to be suspended, but it is not!",
toString(actual))
.isTrue();
return this;
}
|
Verifies the expectation that the {@link ProcessInstance} is currently
suspended.
@return this {@link ProcessInstanceAssert}
|
isSuspended
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ProcessInstanceAssert isNotEnded() {
ProcessInstance current = getExistingCurrent();
Assertions.assertThat(current)
.overridingErrorMessage("Expecting %s not to be ended, but it is!",
toString(current))
.isNotNull();
return this;
}
|
Verifies the expectation that the {@link ProcessInstance} is not ended.
@return this {@link ProcessInstanceAssert}
|
isNotEnded
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ProcessInstanceAssert isActive() {
ProcessInstance current = getExistingCurrent();
isStarted();
isNotEnded();
Assertions.assertThat(current.isSuspended())
.overridingErrorMessage("Expecting %s not to be suspended, but it is!",
toString(current))
.isFalse();
return this;
}
|
Verifies the expectation that the {@link ProcessInstance} is currently active,
iow not suspended and not ended.
@return this {@link ProcessInstanceAssert}
|
isActive
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ProcessInstanceAssert isStarted() {
Object pi = getCurrent();
if (pi == null)
pi = historicProcessInstanceQuery().singleResult();
Assertions.assertThat(pi)
.overridingErrorMessage("Expecting %s to be started, but it is not!",
toString(actual))
.isNotNull();
return this;
}
|
Verifies the expectation that the {@link ProcessInstance} is started. This is
also true, in case the process instance already ended.
@return this {@link ProcessInstanceAssert}
|
isStarted
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public TaskAssert task() {
return task(taskQuery());
}
|
Enter into a chained task assert inspecting the one and mostly
one task currently available in the context of the process instance
under test of this ProcessInstanceAssert.
@return TaskAssert inspecting the only task available. Inspecting a
'null' Task in case no such Task is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more
than one task is delivered by the query (after being narrowed
to actual ProcessInstance)
|
task
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public TaskAssert task(String taskDefinitionKey) {
if (taskDefinitionKey == null) {
throw new IllegalArgumentException("Illegal call of task(taskDefinitionKey = 'null') - must not be null!");
}
isWaitingAt(taskDefinitionKey);
return task(taskQuery().taskDefinitionKey(taskDefinitionKey));
}
|
Enter into a chained task assert inspecting the one and mostly
one task of the specified task definition key currently available in the
context of the process instance under test of this ProcessInstanceAssert.
@param taskDefinitionKey definition key narrowing down the search for
tasks
@return TaskAssert inspecting the only task available. Inspecting a
'null' Task in case no such Task is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than one
task is delivered by the query (after being narrowed to actual
ProcessInstance)
|
task
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public TaskAssert task(final TaskQuery query) {
if (query == null)
throw new IllegalArgumentException("Illegal call of task(query = 'null') - but must not be null!");
isNotNull();
TaskQuery narrowed = query.processInstanceId(actual.getId());
return TaskAssert.assertThat(engine, narrowed.singleResult());
}
|
Enter into a chained task assert inspecting only tasks currently
available in the context of the process instance under test of this
ProcessInstanceAssert. The query is automatically narrowed down to
the actual ProcessInstance under test of this assertion.
@param query TaskQuery further narrowing down the search for tasks
The query is automatically narrowed down to the actual
ProcessInstance under test of this assertion.
@return TaskAssert inspecting the only task resulting from the given
search. Inspecting a 'null' Task in case no such Task is
available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than
one task is delivered by the query (after being narrowed to
actual ProcessInstance)
|
task
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ExternalTaskAssert externalTask() {
return externalTask(externalTaskQuery());
}
|
Enter into a chained external task assert inspecting the one and mostly
one external task currently available in the context of the process instance
under test of this ProcessInstanceAssert.
@return ExternalTaskAssert inspecting the only external task available. Inspecting a
'null' external task in case no such external task is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more
than one external task is delivered by the query (after being narrowed
to actual ProcessInstance)
|
externalTask
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ExternalTaskAssert externalTask(String activityId) {
if (activityId == null) {
throw new IllegalArgumentException("Illegal call of externalTask(activityId = 'null') - must not be null!");
}
isWaitingAt(activityId);
return externalTask(externalTaskQuery().activityId(activityId));
}
|
Enter into a chained external task assert inspecting the one and mostly
one external task of the specified activity id currently available in the
context of the process instance under test of this ProcessInstanceAssert.
@param activityId activity id narrowing down the search for external
tasks
@return ExternalTaskAssert inspecting the only external task available. Inspecting a
'null' external task in case no such external task is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than one
external task is delivered by the query (after being narrowed to actual
ProcessInstance)
|
externalTask
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ExternalTaskAssert externalTask(final ExternalTaskQuery query) {
if (query == null) {
throw new IllegalArgumentException("Illegal call of externalTask(query = 'null') - but must not be null!");
}
isNotNull();
ExternalTaskQuery narrowed = query.processInstanceId(actual.getId());
return ExternalTaskAssert.assertThat(engine, narrowed.singleResult());
}
|
Enter into a chained external task assert inspecting only external tasks
currently available in the context of the process instance under test of this
ProcessInstanceAssert. The query is automatically narrowed down to
the actual ProcessInstance under test of this assertion.
@param query ExternalTaskQuery further narrowing down the search for external
tasks. The query is automatically narrowed down to the actual
ProcessInstance under test of this assertion.
@return ExternalTaskAssert inspecting the only external task resulting from the given
search. Inspecting a 'null' external task in case no such external task is
available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than
one external task is delivered by the query (after being narrowed to
actual ProcessInstance)
|
externalTask
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ProcessInstanceAssert calledProcessInstance() {
return calledProcessInstance(super.processInstanceQuery());
}
|
Enter into a chained process instance assert inspecting the one and mostly
one called process instance currently available in the context of the process instance
under test of this ProcessInstanceAssert.
@return ProcessInstanceAssert inspecting the only called process instance available. Inspecting a
'null' process instance in case no such Task is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more
than one process instance is delivered by the query (after being narrowed
to actual ProcessInstance)
|
calledProcessInstance
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ProcessInstanceAssert calledProcessInstance(String processDefinitionKey) {
return calledProcessInstance(super.processInstanceQuery().processDefinitionKey(processDefinitionKey));
}
|
Enter into a chained process instance assert inspecting the one and mostly
one called process instance of the specified process definition key currently available in the
context of the process instance under test of this ProcessInstanceAssert.
@param processDefinitionKey definition key narrowing down the search for
process instances
@return ProcessInstanceAssert inspecting the only such process instance available.
Inspecting a 'null' ProcessInstance in case no such ProcessInstance is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than one
process instance is delivered by the query (after being narrowed to actual
ProcessInstance)
|
calledProcessInstance
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public ProcessInstanceAssert calledProcessInstance(ProcessInstanceQuery query) {
if (query == null)
throw new IllegalArgumentException("Illegal call of calledProcessInstance(query = 'null') - but must not be null!");
isNotNull();
ProcessInstanceQuery narrowed = query.superProcessInstanceId(actual.getId());
return CalledProcessInstanceAssert.assertThat(engine, narrowed.singleResult());
}
|
Enter into a chained process instance assert inspecting a called process instance
called by and currently available in the context of the process instance under test
of this ProcessInstanceAssert. The query is automatically narrowed down to the actual
ProcessInstance under test of this assertion.
@param query ProcessDefinitionQuery further narrowing down the search for process
instances. The query is automatically narrowed down to the actual
ProcessInstance under test of this assertion.
@return ProcessInstanceAssert inspecting the only such process instance resulting
from the given search. Inspecting a 'null' ProcessInstance in case no such
ProcessInstance is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than
one ProcessInstance is delivered by the query (after being narrowed to
actual ProcessInstance)
|
calledProcessInstance
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public JobAssert job() {
return job(jobQuery());
}
|
Enter into a chained job assert inspecting the one and mostly
one job currently available in the context of the process
instance under test of this ProcessInstanceAssert.
@return JobAssert inspecting the only job available. Inspecting
a 'null' Job in case no such Job is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more
than one task is delivered by the query (after being narrowed
to actual ProcessInstance)
|
job
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public JobAssert job(String activityId) {
return JobAssert.assertThat(
engine,
activityId != null ? jobQuery().activityId(activityId).singleResult() : null
);
}
|
Enter into a chained task assert inspecting the one and mostly
one task of the specified task definition key currently available in the
context of the process instance under test of this ProcessInstanceAssert.
@param activityId id narrowing down the search for jobs
@return JobAssert inspecting the retrieved job. Inspecting a
'null' Task in case no such Job is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than one
job is delivered by the query (after being narrowed to actual
ProcessInstance)
|
job
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public JobAssert job(JobQuery query) {
if (query == null)
throw new IllegalArgumentException("Illegal call of job(query = 'null') - but must not be null!");
isNotNull();
JobQuery narrowed = query.processInstanceId(actual.getId());
return JobAssert.assertThat(engine, narrowed.singleResult());
}
|
Enter into a chained job assert inspecting only jobs currently
available in the context of the process instance under test of this
ProcessInstanceAssert. The query is automatically narrowed down to
the actual ProcessInstance under test of this assertion.
@param query JobQuery further narrowing down the search for
jobs. The query is automatically narrowed down to the
actual ProcessInstance under test of this assertion.
@return JobAssert inspecting the only job resulting from the
given search. Inspecting a 'null' job in case no such job
is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more
than one job is delivered by the query (after being narrowed
to actual ProcessInstance)
|
job
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/ProcessInstanceAssert.java
|
Apache-2.0
|
public TaskAssert isNotAssigned() {
Task current = getExistingCurrent();
Assertions.assertThat(current.getAssignee())
.overridingErrorMessage("Expecting %s not to be assigned, but found it to be assigned to user '%s'!",
toString(current),
current.getAssignee())
.isNull();
return this;
}
|
Verifies the expectation that the {@link Task} is currently not assigned to
any particular user.
@return this {@link TaskAssert}
|
isNotAssigned
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
Apache-2.0
|
public TaskAssert isAssignedTo(final String userId) {
Task current = getExistingCurrent();
Assertions
.assertThat(current.getAssignee())
.overridingErrorMessage("Expecting %s to be assigned to user '%s', but found it to be assigned to '%s'!",
toString(current),
userId,
current.getAssignee())
.isEqualTo(userId);
return this;
}
|
Verifies the expectation that the {@link Task} is currently assigned to
the specified user.
@param userId id of the user the task should be currently assigned to.
@return this {@link TaskAssert}
|
isAssignedTo
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
Apache-2.0
|
public TaskAssert hasCandidateGroup(final String candidateGroupId) {
return hasCandidateGroup(candidateGroupId, true);
}
|
Verifies the expectation that the {@link Task} is currently waiting to
be assigned to a user of the specified candidate group.
@param candidateGroupId id of a candidate group the task is waiting to be assigned to
@return this {@link TaskAssert}
@since Camunda Platform 7.0
|
hasCandidateGroup
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
Apache-2.0
|
public TaskAssert hasCandidateUser(final String candidateUserId) {
return hasCandidateUser(candidateUserId, true);
}
|
Verifies the expectation that the {@link Task} is currently waiting to
be assigned to a specified candidate user.
@param candidateUserId id of a candidate user the task is waiting to be assigned to
@return this {@link TaskAssert}
@since Camunda Platform 7.0
|
hasCandidateUser
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
Apache-2.0
|
public TaskAssert hasDueDate(final Date dueDate) {
Task current = getExistingCurrent();
Assertions.assertThat(dueDate).isNotNull();
Assertions.assertThat(current.getDueDate())
.overridingErrorMessage("Expecting %s to be due at '%s', but found it to be due at '%s'!",
toString(current),
dueDate,
current.getDueDate()
)
.isEqualTo(dueDate);
return this;
}
|
Verifies the due date of a {@link Task}.
@param dueDate the date the task should be due at
@return this {@link TaskAssert}
|
hasDueDate
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
Apache-2.0
|
public TaskAssert hasDefinitionKey(final String taskDefinitionKey) {
Task current = getExistingCurrent();
Assertions.assertThat(taskDefinitionKey).isNotNull();
Assertions.assertThat(current.getTaskDefinitionKey())
.overridingErrorMessage("Expecting %s to have definition key '%s', but found it to have '%s'!",
toString(current),
taskDefinitionKey,
current.getTaskDefinitionKey()
).isEqualTo(taskDefinitionKey);
return this;
}
|
Verifies the definition key of a {@link Task}. This key can be found
in the <userTask id="myTaskDefinitionKey" .../> attribute of the
process definition BPMN 2.0 XML file.
@param taskDefinitionKey the expected value of the task/@id attribute
@return this {@link TaskAssert}
|
hasDefinitionKey
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
Apache-2.0
|
public TaskAssert hasFormKey(String formKey) {
Task current = getExistingCurrent();
String actualformKey = formService().getTaskFormKey(current.getProcessDefinitionId(), current.getTaskDefinitionKey());
Assertions.assertThat(actualformKey)
.overridingErrorMessage("Expecting %s to have a form key '%s', but found it to to have form key '%s'!", toString(current), formKey, actualformKey)
.isEqualTo(formKey);
return this;
}
|
Verifies the expectation that the {@link Task} has a specified form key.
@param formKey the expected form key.
@return this {@link TaskAssert}
|
hasFormKey
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
Apache-2.0
|
public TaskAssert hasId(final String id) {
Task current = getExistingCurrent();
Assertions.assertThat(id).isNotNull();
Assertions.assertThat(current.getId())
.overridingErrorMessage("Expecting %s to have internal id '%s', but found it to be '%s'!",
toString(current),
id,
current.getId()
).isEqualTo(id);
return this;
}
|
Verifies the internal id of a {@link Task}.
@param id the expected value of the internal task id
@return this {@link TaskAssert}
|
hasId
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
Apache-2.0
|
public TaskAssert hasName(final String name) {
Task current = getExistingCurrent();
Assertions.assertThat(name).isNotNull();
Assertions.assertThat(current.getName())
.overridingErrorMessage("Expecting %s to have name '%s', but found it to be '%s'!",
toString(current),
name,
current.getName()
).isEqualTo(name);
return this;
}
|
Verifies the name (label) of a {@link Task}. This name can be found
in the <userTask name="myName" .../> attribute of the
process definition BPMN 2.0 XML file.
@param name the expected value of the name
@return this {@link TaskAssert}
|
hasName
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/bpmn/TaskAssert.java
|
Apache-2.0
|
@Override
public A getActual() {
return actual;
}
|
Delivers the the actual object under test.
|
getActual
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected S isAvailable() {
return hasState(CaseExecutionState.AVAILABLE);
}
|
Verifies the expectation that the {@link CaseExecution} is 'available'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes sense
@return this
|
isAvailable
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected S isEnabled() {
return hasState(CaseExecutionState.ENABLED);
}
|
Verifies the expectation that the {@link CaseExecution} is 'enabled'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes sense
@return this
|
isEnabled
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected S isDisabled() {
return hasState(CaseExecutionState.DISABLED);
}
|
Verifies the expectation that the {@link CaseExecution} is 'disabled'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes sense
@return this
|
isDisabled
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected S isActive() {
return hasState(CaseExecutionState.ACTIVE);
}
|
Verifies the expectation that the {@link CaseExecution} is 'active'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes sense
@return this
|
isActive
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected S isCompleted() {
return hasState(CaseExecutionState.COMPLETED);
}
|
Verifies the expectation that the {@link CaseExecution} is 'completed'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes sense
@return this
|
isCompleted
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected S isClosed() {
return hasState(CaseExecutionState.CLOSED);
}
|
Verifies the expectation that the {@link CaseExecution} is 'closed'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes sense
@return this
|
isClosed
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected S isTerminated() {
return hasState(CaseExecutionState.TERMINATED);
}
|
Verifies the expectation that the {@link CaseExecution} is 'terminated'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes sense
@return this
|
isTerminated
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected CaseInstanceAssert isCaseInstance() {
isNotNull();
Assertions.assertThat(actual.getCaseInstanceId())
.overridingErrorMessage("Expected %s to be the case instance, but found it not to be!").isEqualTo(actual.getId());
return CaseInstanceAssert.assertThat(engine, (CaseInstance) actual);
}
|
Verifies the expectation that the {@link CaseExecution} is the
'case' instance.
Change visibility to public for those inheriting classes for whose
underlying objects under test this assertion makes sense
@return this
|
isCaseInstance
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected StageAssert isStage() {
hasType(CmmnModelConstants.CMMN_ELEMENT_STAGE);
return StageAssert.assertThat(engine, actual);
}
|
Verifies the expectation that the {@link CaseExecution} is a 'stage'
Change visibility to public for those inheriting classes for whose
underlying objects under test this assertion makes sense
@return this
|
isStage
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected HumanTaskAssert isHumanTask() {
hasType(CmmnModelConstants.CMMN_ELEMENT_HUMAN_TASK);
return HumanTaskAssert.assertThat(engine, actual);
}
|
Verifies the expectation that the {@link CaseExecution} is a 'humanTask'
Change visibility to public for those inheriting classes for whose
underlying objects under test this assertion makes sense
@return this
|
isHumanTask
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected ProcessTaskAssert isProcessTask() {
hasType(CmmnModelConstants.CMMN_ELEMENT_PROCESS_TASK);
return ProcessTaskAssert.assertThat(engine, actual);
}
|
Verifies the expectation that the {@link CaseExecution} is a 'processTask'
Change visibility to public for those inheriting classes for whose
underlying objects under test this assertion makes sense
@return this
|
isProcessTask
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected CaseTaskAssert isCaseTask() {
hasType(CmmnModelConstants.CMMN_ELEMENT_CASE_TASK);
return CaseTaskAssert.assertThat(engine, actual);
}
|
Verifies the expectation that the {@link CaseExecution} is a 'caseTask'
Change visibility to public for those inheriting classes for whose
underlying objects under test this assertion makes sense
@return this
|
isCaseTask
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected MilestoneAssert isMilestone() {
hasType(CmmnModelConstants.CMMN_ELEMENT_MILESTONE);
return MilestoneAssert.assertThat(engine, actual);
}
|
Verifies the expectation that the {@link CaseExecution} is a 'milestone'
Change visibility to public for those inheriting classes for whose
underlying objects under test this assertion makes sense
@return this
|
isMilestone
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected CaseExecutionAssert caseExecution(final CaseExecutionQuery query) {
CaseExecutionAssert caseExecutionAssert = descendantCaseExecution(query);
CaseExecution caseExecution = caseExecutionAssert.getActual();
if (caseExecution != null)
Assertions.assertThat(caseExecution.getParentId()).isEqualTo(actual.getId());
return new CaseExecutionAssert(engine, caseExecution);
}
|
Retrieve a child {@link CaseExecution} currently available in the context of
the actual caseExecution under test of this AbstractCaseAssert. The query is
automatically narrowed down to the actual caseExecution under test of this
assertion.
@see #descendantCaseExecution to find grandchilds and other descendants, too.
@param query CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion.
@return the only CaseExecution resulting from the given search. A 'null'
CaseExecution in case no such CaseExecution is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than
one CaseExecution is delivered by the query (after being narrowed
to the actual 'parent' CaseExecution)
|
caseExecution
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected CaseExecutionAssert descendantCaseExecution(CaseExecutionQuery query) {
if (query == null)
throw new IllegalArgumentException("Illegal call of caseExecution(query = 'null') - but must not be null!");
isNotNull();
@SuppressWarnings("unchecked")
A caseExecution = (A) query.singleResult();
return new CaseExecutionAssert(engine, caseExecution);
}
|
Retrieve any descendant {@link CaseExecution} currently available in the context of
the actual caseInstance under test of this AbstractCaseAssert. The query is
automatically narrowed down to the actual caseExecution under test of this
assertion.
@see #caseExecution to find only children of this {@link CaseExecution}
@param query CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion.
@return the only CaseExecution resulting from the given search. A 'null'
CaseExecution in case no such CaseExecution is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than
one CaseExecution is delivered by the query (after being narrowed
to the actual 'parent' CaseExecution)
|
descendantCaseExecution
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected HumanTaskAssert humanTask(final CaseExecutionQuery query) {
CaseExecution caseExecution = caseExecution(query).getActual(); //TODO extract and use lookup code from caseExecution(query)
return CaseExecutionAssert.assertThat(engine, caseExecution).isHumanTask();
}
|
Enter into a chained {@link HumanTaskAssert} inspecting the one and mostly
one 'humanTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'humanTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
@param query CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'humanTask'.
@return the only CaseExecution resulting from the given search. A 'null'
CaseExecution in case no such CaseExecution is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than
one CaseExecution is delivered by the query (after being narrowed
to the actual 'parent' CaseExecution)
|
humanTask
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected HumanTaskAssert humanTask(final String activityId) {
return humanTask(caseExecutionQuery().activityId(activityId));
}
|
Enter into a chained {@link HumanTaskAssert} inspecting the one and mostly
one 'humanTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'humanTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
@param activityId activity if further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'humanTask'.
@return the only CaseExecution with the given activitiy id. A 'null'
CaseExecution in case no such CaseExecution is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than
one CaseExecution is delivered by the query (after being narrowed
to the actual 'parent' CaseExecution)
|
humanTask
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected CaseTaskAssert caseTask(final CaseExecutionQuery query) {
CaseExecution caseExecution = caseExecution(query).getActual(); //TODO extract and use lookup code from caseExecution(query)
return CaseExecutionAssert.assertThat(engine, caseExecution).isCaseTask();
}
|
Enter into a chained {@link CaseTaskAssert} inspecting the one and mostly
one 'caseTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'caseTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
@param query CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'caseTask'.
@return the only CaseExecution resulting from the given search. A 'null'
CaseExecution in case no such CaseExecution is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than
one CaseExecution is delivered by the query (after being narrowed
to the actual 'parent' CaseExecution)
|
caseTask
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected CaseTaskAssert caseTask(final String activityId) {
return caseTask(caseExecutionQuery().activityId(activityId));
}
|
Enter into a chained {@link CaseTaskAssert} inspecting the one and mostly
one 'caseTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'caseTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
@param activityId activity if further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'caseTask'.
@return the only CaseExecution with the given activitiy id. A 'null'
CaseExecution in case no such CaseExecution is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than
one CaseExecution is delivered by the query (after being narrowed
to the actual 'parent' CaseExecution)
|
caseTask
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected ProcessTaskAssert processTask(final CaseExecutionQuery query) {
CaseExecution caseExecution = caseExecution(query).getActual(); //TODO extract and use lookup code from caseExecution(query)
return CaseExecutionAssert.assertThat(engine, caseExecution).isProcessTask();
}
|
Enter into a chained {@link ProcessTaskAssert} inspecting the one and mostly
one 'processTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'processTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
@param query CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'processTask'.
@return the only CaseExecution resulting from the given search. A 'null'
CaseExecution in case no such CaseExecution is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than
one CaseExecution is delivered by the query (after being narrowed
to the actual 'parent' CaseExecution)
|
processTask
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected ProcessTaskAssert processTask(final String activityId) {
return processTask(caseExecutionQuery().activityId(activityId));
}
|
Enter into a chained {@link ProcessTaskAssert} inspecting the one and mostly
one 'processTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'processTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
@param activityId activity if further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'processTask'.
@return the only CaseExecution with the given activitiy id. A 'null'
CaseExecution in case no such CaseExecution is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than
one CaseExecution is delivered by the query (after being narrowed
to the actual 'parent' CaseExecution)
|
processTask
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected StageAssert stage(final CaseExecutionQuery query) {
CaseExecution caseExecution = caseExecution(query).getActual(); //TODO extract and use lookup code from caseExecution(query)
return CaseExecutionAssert.assertThat(engine, caseExecution).isStage();
}
|
Enter into a chained {@link StageAssert} inspecting the one and mostly
one 'stage' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'stage'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
@param query CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'stage'.
@return the only CaseExecution resulting from the given search. A 'null'
CaseExecution in case no such CaseExecution is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than
one CaseExecution is delivered by the query (after being narrowed
to the actual 'parent' CaseExecution)
|
stage
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected StageAssert stage(final String activityId) {
return stage(caseExecutionQuery().activityId(activityId));
}
|
Enter into a chained {@link StageAssert} inspecting the one and mostly
one 'stage' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'stage'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
@param activityId activity if further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'stage'.
@return the only CaseExecution with the given activitiy id. A 'null'
CaseExecution in case no such CaseExecution is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than
one CaseExecution is delivered by the query (after being narrowed
to the actual 'parent' CaseExecution)
|
stage
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected MilestoneAssert milestone(final CaseExecutionQuery query) {
CaseExecution caseExecution = caseExecution(query).getActual(); //TODO extract and use lookup code from caseExecution(query)
return CaseExecutionAssert.assertThat(engine, caseExecution).isMilestone();
}
|
Enter into a chained {@link MilestoneAssert} inspecting the one and mostly
one 'milestone' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'milestone'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
@param query CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'milestone'.
@return the only CaseExecution resulting from the given search. A 'null'
CaseExecution in case no such CaseExecution is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than
one CaseExecution is delivered by the query (after being narrowed
to the actual 'parent' CaseExecution)
|
milestone
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected MilestoneAssert milestone(final String activityId) {
return milestone(caseExecutionQuery().activityId(activityId));
}
|
Enter into a chained {@link MilestoneAssert} inspecting the one and mostly
one 'milestone' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'milestone'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
@param activityId activity if further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'milestone'.
@return the only CaseExecution with the given activitiy id. A 'null'
CaseExecution in case no such CaseExecution is available.
@throws org.camunda.bpm.engine.ProcessEngineException in case more than
one CaseExecution is delivered by the query (after being narrowed
to the actual 'parent' CaseExecution)
|
milestone
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
private S hasState(CaseExecutionState state) {
Assertions.assertThat(actual).isNotNull();
CaseExecution current = getCurrent();
int actualState = current != null ? ((CaseExecutionEntity) current).getState() : getHistoricState();
Assertions
.assertThat(actualState)
.overridingErrorMessage(
String.format(
"Expected %s to be in state '%s', but found it to be '%s'!",
toString(actual),
state,
CaseExecutionState.CASE_EXECUTION_STATES.get(actualState))).isEqualTo(state.getStateCode());
@SuppressWarnings("unchecked")
S self = (S) this;
return self;
}
|
Verifies the expectation that the {@link CaseExecution} is currently
in the specified state
@param state of the case execution
@return this {@link TaskAssert}
|
hasState
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
private S hasType(String type) {
Assertions.assertThat(actual).isNotNull();
Assertions
.assertThat(actual.getActivityType())
.overridingErrorMessage(
String.format("Expected %s to be a '%s', but found it to be a '%s'!", toString(actual), type, actual.getActivityType()))
.isEqualTo(type);
@SuppressWarnings("unchecked")
S self = (S) this;
return self;
}
|
Verifies the expectation that the {@link CaseExecution} is of specified type
@param type of the case execution
@return this {@link TaskAssert}
|
hasType
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
@Override
protected A getCurrent() {
@SuppressWarnings("unchecked")
A caseExecution = (A) caseExecutionQuery().caseExecutionId(actual.getId()).singleResult();
return caseExecution;
}
|
Retrieve refreshed status of object under test from runtime database
|
getCurrent
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
protected int getHistoricState() {
isNotNull();
HistoricCaseActivityInstance historicCaseActivityInstance = historicCaseActivityInstanceQuery().caseExecutionId(actual.getId())
.singleResult();
String message = "Please make sure you have set the history service of the engine to "
+ "at least level 'activity' or a higher level before making use of this assertion!";
Assertions.assertThat(historicCaseActivityInstance).overridingErrorMessage(message).isNotNull();
return ((HistoricCaseActivityInstanceEntity) historicCaseActivityInstance).getCaseActivityInstanceState();
}
|
@return historic state for the object under test from history database
|
getHistoricState
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
@Override
protected CaseExecutionQuery caseExecutionQuery() {
return super.caseExecutionQuery().caseInstanceId(actual.getCaseInstanceId());
}
|
CaseExecutionQuery, automatically narrowed to {@link CaseInstance} of actual {@link CaseExecution}
|
caseExecutionQuery
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/AbstractCaseAssert.java
|
Apache-2.0
|
@Override
public CaseTaskAssert isAvailable() {
return super.isAvailable();
}
|
Verifies the expectation that the {@link CaseTask} is in {@link CaseExecutionState} 'available'.
@return this {@link CaseTaskAssert}
|
isAvailable
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
Apache-2.0
|
@Override
public CaseTaskAssert isEnabled() {
return super.isEnabled();
}
|
Verifies the expectation that the {@link CaseTask} is in {@link CaseExecutionState} 'enabled'.
@return this {@link CaseTaskAssert}
|
isEnabled
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
Apache-2.0
|
@Override
public CaseTaskAssert isDisabled() {
return super.isDisabled();
}
|
Verifies the expectation that the {@link CaseTask} is in {@link CaseExecutionState} 'disabled'.
@return this {@link CaseTaskAssert}
|
isDisabled
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
Apache-2.0
|
@Override
public CaseTaskAssert isActive() {
return super.isActive();
}
|
Verifies the expectation that the {@link CaseTask} is in {@link CaseExecutionState} 'active'.
@return this {@link CaseTaskAssert}
|
isActive
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
Apache-2.0
|
@Override
public CaseTaskAssert isCompleted() {
return super.isCompleted();
}
|
Verifies the expectation that the {@link CaseTask} is in {@link CaseExecutionState} 'completed'.
@return this {@link CaseTaskAssert}
|
isCompleted
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
Apache-2.0
|
@Override
public CaseTaskAssert isTerminated() {
return super.isTerminated();
}
|
Verifies the expectation that the {@link CaseTask} is in {@link CaseExecutionState} 'terminated'.
@return this {@link CaseTaskAssert}
|
isTerminated
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
Apache-2.0
|
public CaseTaskAssert hasNoVariables() {
return hasVars(null);
}
|
Verifies the expectation that the {@link org.camunda.bpm.model.cmmn.instance.CaseTask} holds no
case variables at all.
@return this {@link CaseTaskAssert}
|
hasNoVariables
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
Apache-2.0
|
public CaseTaskAssert hasVariables(final String... names) {
return hasVars(names);
}
|
Verifies the expectation that the {@link org.camunda.bpm.model.cmmn.instance.CaseTask} holds one or
more case variables with the specified names.
@param names the names of the case task variables expected to exist. In
case no variable name is given, the existence of at least one
variable will be verified.
@return this {@link CaseTaskAssert}
|
hasVariables
|
java
|
camunda/camunda-bpm-platform
|
test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
https://github.com/camunda/camunda-bpm-platform/blob/master/test-utils/assert/core/src/main/java/org/camunda/bpm/engine/test/assertions/cmmn/CaseTaskAssert.java
|
Apache-2.0
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.