org.camunda.bpm.engine.test.assertions.bpmn
Class BpmnAwareAssertions

java.lang.Object
  extended by org.assertj.core.api.Assertions
      extended by org.camunda.bpm.engine.test.assertions.bpmn.AbstractAssertions
          extended by org.camunda.bpm.engine.test.assertions.bpmn.BpmnAwareAssertions
Direct Known Subclasses:
BpmnAwareTests, CmmnAwareAssertions

public class BpmnAwareAssertions
extends AbstractAssertions

Convenience class to access only camunda *BPMN* related Assertions. Usage is optional, if you only need BPMN Assertions and mandatory if you still use Camunda BPM <= 7.1. Use it with a static import: import static org.camunda.bpm.engine.test.assertions.bpmn.BpmnAwareAssertions.*;

Author:
Martin Schimak
See Also:
for all Camunda BPM Assertions, for full Camunda BPM Assert functionality PLUS helper methods

Constructor Summary
protected BpmnAwareAssertions()
           
 
Method Summary
static JobAssert assertThat(org.camunda.bpm.engine.runtime.Job actual)
          Assert that...
static ProcessDefinitionAssert assertThat(org.camunda.bpm.engine.repository.ProcessDefinition actual)
          Assert that...
static ProcessInstanceAssert assertThat(org.camunda.bpm.engine.runtime.ProcessInstance actual)
          Assert that...
static TaskAssert assertThat(org.camunda.bpm.engine.task.Task actual)
          Assert that...
 
Methods inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractAssertions
assertApi, init, processEngine, reset, supportsApi
 
Methods inherited from class org.assertj.core.api.Assertions
allOf, allOf, anyOf, anyOf, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, atIndex, contentOf, contentOf, contentOf, doesNotHave, entry, extractProperty, extractProperty, fail, fail, failBecauseExceptionWasNotThrown, filter, filter, linesOf, linesOf, linesOf, not, offset, offset, registerCustomDateFormat, registerCustomDateFormat, setAllowExtractingPrivateFields, setRemoveAssertJRelatedElementsFromStackTrace, tuple, useDateFormat, useDateFormat, useDefaultDateFormats, useDefaultDateFormatsOnly, useIsoDateFormat, useIsoDateTimeFormat, useIsoDateTimeWithMsFormat, within, within, within
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BpmnAwareAssertions

protected BpmnAwareAssertions()
Method Detail

assertThat

public static ProcessDefinitionAssert assertThat(org.camunda.bpm.engine.repository.ProcessDefinition actual)
Assert that... the given ProcessDefinition meets your expectations.

Parameters:
actual - ProcessDefinition under test
Returns:
Assert object offering ProcessDefinition specific assertions.

assertThat

public static ProcessInstanceAssert assertThat(org.camunda.bpm.engine.runtime.ProcessInstance actual)
Assert that... the given ProcessInstance meets your expectations.

Parameters:
actual - ProcessInstance under test
Returns:
Assert object offering ProcessInstance specific assertions.

assertThat

public static TaskAssert assertThat(org.camunda.bpm.engine.task.Task actual)
Assert that... the given Task meets your expectations.

Parameters:
actual - Task under test
Returns:
Assert object offering Task specific assertions.

assertThat

public static JobAssert assertThat(org.camunda.bpm.engine.runtime.Job actual)
Assert that... the given Job meets your expectations.

Parameters:
actual - Job under test
Returns:
Assert object offering Job specific assertions.


Copyright © 2016 camunda services GmbH. All rights reserved.