Class CaseTaskAssert

  • All Implemented Interfaces:
    org.assertj.core.api.Assert<CaseTaskAssert,​org.camunda.bpm.engine.runtime.CaseExecution>, org.assertj.core.api.Descriptable<CaseTaskAssert>, org.assertj.core.api.ExtensionPoints<CaseTaskAssert,​org.camunda.bpm.engine.runtime.CaseExecution>

    public class CaseTaskAssert
    extends AbstractCaseAssert<CaseTaskAssert,​org.camunda.bpm.engine.runtime.CaseExecution>
    • Constructor Detail

      • CaseTaskAssert

        protected CaseTaskAssert​(org.camunda.bpm.engine.ProcessEngine engine,
                                 org.camunda.bpm.engine.runtime.CaseExecution actual)
    • Method Detail

      • assertThat

        protected static CaseTaskAssert assertThat​(org.camunda.bpm.engine.ProcessEngine engine,
                                                   org.camunda.bpm.engine.runtime.CaseExecution actual)
      • hasNoVariables

        public CaseTaskAssert hasNoVariables()
        Verifies the expectation that the CaseTask holds no case variables at all.
        Returns:
        this CaseTaskAssert
      • hasVariables

        public CaseTaskAssert hasVariables​(String... names)
        Verifies the expectation that the CaseTask holds one or more case variables with the specified names.
        Parameters:
        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.
        Returns:
        this CaseTaskAssert
      • variables

        public org.assertj.core.api.MapAssert<String,​Object> variables()
        Enter into a chained map assert inspecting the variables currently available in the context of the case task instance under test of this CaseTaskAssert.
        Overrides:
        variables in class AbstractCaseAssert<CaseTaskAssert,​org.camunda.bpm.engine.runtime.CaseExecution>
        Returns:
        MapAssert(String, Object) inspecting the case task instance variables. Inspecting an empty map in case no such variables are available.