public abstract class AbstractAssertions
extends org.assertj.core.api.Assertions
| Constructor and Description |
|---|
AbstractAssertions() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
assertApi(String api) |
static void |
init(org.camunda.bpm.engine.ProcessEngine processEngine)
Bind an instance of ProcessEngine to the current testing calls done
in your test method.
|
static org.camunda.bpm.engine.ProcessEngine |
processEngine()
Retrieve the processEngine bound to the current testing thread
via calling init(ProcessEngine processEngine).
|
static void |
reset()
Resets operations done via calling init(ProcessEngine processEngine)
to its clean state - just as before calling init() for the first time.
|
protected static boolean |
supportsApi(String api) |
allOf, allOf, anyOf, anyOf, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThatThrownBy, atIndex, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, catchThrowable, contentOf, contentOf, contentOf, contentOf, contentOf, contentOf, doesNotHave, entry, extractProperty, extractProperty, fail, fail, fail, failBecauseExceptionWasNotThrown, filter, filter, in, linesOf, linesOf, linesOf, linesOf, linesOf, linesOf, not, not, notIn, offset, offset, registerCustomDateFormat, registerCustomDateFormat, setAllowComparingPrivateFields, setAllowExtractingPrivateFields, setLenientDateParsing, setMaxElementsForPrinting, setMaxLengthForSingleLineDescription, setRemoveAssertJRelatedElementsFromStackTrace, shouldHaveThrown, tuple, useDefaultDateFormatsOnly, useDefaultRepresentation, useRepresentation, within, within, within, within, within, within, within, withinPercentage, withinPercentage, withinPercentage, withPrecision, withPrecisionpublic static org.camunda.bpm.engine.ProcessEngine processEngine()
IllegalStateException - in case a processEngine has not
been initialised yet and cannot be initialised with a
default engine.public static void init(org.camunda.bpm.engine.ProcessEngine processEngine)
processEngine - ProcessEngine which should be bound to the
current testing thread.public static void reset()
protected static void assertApi(String api)
protected static boolean supportsApi(String api)
Copyright © 2019 Camunda Services GmbH. All rights reserved.