org.camunda.bpm.engine.test.assertions.cmmn
Class CaseExecutionAssert

java.lang.Object
  extended by org.assertj.core.api.AbstractAssert<S,A>
      extended by org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert<S,A>
          extended by org.camunda.bpm.engine.test.assertions.cmmn.AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
              extended by org.camunda.bpm.engine.test.assertions.cmmn.CaseExecutionAssert
All Implemented Interfaces:
org.assertj.core.api.Assert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>, org.assertj.core.api.Descriptable<CaseExecutionAssert>, org.assertj.core.api.ExtensionPoints<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>

public class CaseExecutionAssert
extends AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>

Author:
Martin Schimak , Malte Sörensen , Martin Günther

Field Summary
 
Fields inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert
engine
 
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself
 
Constructor Summary
protected CaseExecutionAssert(org.camunda.bpm.engine.ProcessEngine engine, org.camunda.bpm.engine.runtime.CaseExecution actual)
           
 
Method Summary
protected static CaseExecutionAssert assertThat(org.camunda.bpm.engine.ProcessEngine engine, org.camunda.bpm.engine.runtime.CaseExecution actual)
           
 CaseExecutionAssert isActive()
          Verifies the expectation that the CaseExecution is 'active'.
 CaseExecutionAssert isAvailable()
          Verifies the expectation that the CaseExecution is 'available'.
 CaseInstanceAssert isCaseInstance()
          Verifies the expectation that the CaseExecution is the 'case' instance.
 CaseTaskAssert isCaseTask()
          Verifies the expectation that the CaseExecution is a 'caseTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense
 CaseExecutionAssert isClosed()
          Verifies the expectation that the CaseExecution is 'closed'.
 CaseExecutionAssert isCompleted()
          Verifies the expectation that the CaseExecution is 'completed'.
 CaseExecutionAssert isDisabled()
          Verifies the expectation that the CaseExecution is 'disabled'.
 CaseExecutionAssert isEnabled()
          Verifies the expectation that the CaseExecution is 'enabled'.
 CaseExecutionAssert isFailed()
          Verifies the expectation that the CaseExecution is 'failed'.
 HumanTaskAssert isHumanTask()
          Verifies the expectation that the CaseExecution is a 'humanTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense
 MilestoneAssert isMilestone()
          Verifies the expectation that the CaseExecution is a 'milestone' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense
 ProcessTaskAssert isProcessTask()
          Verifies the expectation that the CaseExecution is a 'processTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense
 StageAssert isStage()
          Verifies the expectation that the CaseExecution is a 'stage' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense
 CaseExecutionAssert isSuspended()
          Verifies the expectation that the CaseExecution is 'suspended'.
 CaseExecutionAssert isTerminated()
          Verifies the expectation that the CaseExecution is 'terminated'.
 
Methods inherited from class org.camunda.bpm.engine.test.assertions.cmmn.AbstractCaseAssert
caseExecution, caseExecution, caseExecution, caseExecutionQuery, caseTask, caseTask, caseTask, descendantCaseExecution, getActual, getCurrent, getHistoric, hasVars, historicCaseActivityInstanceQuery, humanTask, humanTask, humanTask, milestone, milestone, milestone, processTask, processTask, processTask, stage, stage, stage, toString, variables, vars
 
Methods inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert
assertApi, authorizationService, caseDefinitionQuery, caseInstanceQuery, caseService, executionQuery, formService, getExistingCurrent, getLastAssert, historicActivityInstanceQuery, historicDetailQuery, historicProcessInstanceQuery, historicTaskInstanceQuery, historicVariableInstanceQuery, historyService, identityService, jobQuery, managementService, processDefinitionQuery, processInstanceQuery, repositoryService, resetLastAsserts, runtimeService, supportsApi, taskQuery, taskService, variableInstanceQuery
 
Methods inherited from class org.assertj.core.api.AbstractAssert
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaseExecutionAssert

protected CaseExecutionAssert(org.camunda.bpm.engine.ProcessEngine engine,
                              org.camunda.bpm.engine.runtime.CaseExecution actual)
Method Detail

assertThat

protected static CaseExecutionAssert assertThat(org.camunda.bpm.engine.ProcessEngine engine,
                                                org.camunda.bpm.engine.runtime.CaseExecution actual)

isAvailable

public CaseExecutionAssert isAvailable()
Description copied from class: AbstractCaseAssert
Verifies the expectation that the CaseExecution is 'available'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense

Overrides:
isAvailable in class AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
Returns:
this

isEnabled

public CaseExecutionAssert isEnabled()
Description copied from class: AbstractCaseAssert
Verifies the expectation that the CaseExecution is 'enabled'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense

Overrides:
isEnabled in class AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
Returns:
this

isDisabled

public CaseExecutionAssert isDisabled()
Description copied from class: AbstractCaseAssert
Verifies the expectation that the CaseExecution is 'disabled'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense

Overrides:
isDisabled in class AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
Returns:
this

isActive

public CaseExecutionAssert isActive()
Description copied from class: AbstractCaseAssert
Verifies the expectation that the CaseExecution is 'active'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense

Overrides:
isActive in class AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
Returns:
this

isSuspended

public CaseExecutionAssert isSuspended()
Description copied from class: AbstractCaseAssert
Verifies the expectation that the CaseExecution is 'suspended'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense

Overrides:
isSuspended in class AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
Returns:
this

isCompleted

public CaseExecutionAssert isCompleted()
Description copied from class: AbstractCaseAssert
Verifies the expectation that the CaseExecution is 'completed'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense

Overrides:
isCompleted in class AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
Returns:
this

isClosed

public CaseExecutionAssert isClosed()
Description copied from class: AbstractCaseAssert
Verifies the expectation that the CaseExecution is 'closed'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense

Overrides:
isClosed in class AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
Returns:
this

isFailed

public CaseExecutionAssert isFailed()
Description copied from class: AbstractCaseAssert
Verifies the expectation that the CaseExecution is 'failed'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense

Overrides:
isFailed in class AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
Returns:
this

isTerminated

public CaseExecutionAssert isTerminated()
Description copied from class: AbstractCaseAssert
Verifies the expectation that the CaseExecution is 'terminated'. Change visibility to public for those inheriting classes for whose underlying objects under test this status makes sense

Overrides:
isTerminated in class AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
Returns:
this

isCaseInstance

public CaseInstanceAssert isCaseInstance()
Description copied from class: AbstractCaseAssert
Verifies the expectation that the CaseExecution is the 'case' instance. Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense

Overrides:
isCaseInstance in class AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
Returns:
this

isStage

public StageAssert isStage()
Description copied from class: AbstractCaseAssert
Verifies the expectation that the CaseExecution is a 'stage' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense

Overrides:
isStage in class AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
Returns:
this

isHumanTask

public HumanTaskAssert isHumanTask()
Description copied from class: AbstractCaseAssert
Verifies the expectation that the CaseExecution is a 'humanTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense

Overrides:
isHumanTask in class AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
Returns:
this

isProcessTask

public ProcessTaskAssert isProcessTask()
Description copied from class: AbstractCaseAssert
Verifies the expectation that the CaseExecution is a 'processTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense

Overrides:
isProcessTask in class AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
Returns:
this

isCaseTask

public CaseTaskAssert isCaseTask()
Description copied from class: AbstractCaseAssert
Verifies the expectation that the CaseExecution is a 'caseTask' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense

Overrides:
isCaseTask in class AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
Returns:
this

isMilestone

public MilestoneAssert isMilestone()
Description copied from class: AbstractCaseAssert
Verifies the expectation that the CaseExecution is a 'milestone' Change visibility to public for those inheriting classes for whose underlying objects under test this assertion makes sense

Overrides:
isMilestone in class AbstractCaseAssert<CaseExecutionAssert,org.camunda.bpm.engine.runtime.CaseExecution>
Returns:
this


Copyright © 2016 camunda services GmbH. All rights reserved.