Class CaseInstanceAssert

    • Method Detail

      • humanTask

        public HumanTaskAssert humanTask​(CaseExecutionQuery query)
        Description copied from class: AbstractCaseAssert
        Enter into a chained 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
        Overrides:
        humanTask in class AbstractCaseAssert<CaseInstanceAssert,​CaseInstance>
        Parameters:
        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'.
        Returns:
        the only CaseExecution resulting from the given search. A 'null' CaseExecution in case no such CaseExecution is available.
      • humanTask

        public HumanTaskAssert humanTask​(java.lang.String activityId)
        Description copied from class: AbstractCaseAssert
        Enter into a chained 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
        Overrides:
        humanTask in class AbstractCaseAssert<CaseInstanceAssert,​CaseInstance>
        Parameters:
        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'.
        Returns:
        the only CaseExecution with the given activitiy id. A 'null' CaseExecution in case no such CaseExecution is available.
      • caseTask

        public CaseTaskAssert caseTask​(CaseExecutionQuery query)
        Description copied from class: AbstractCaseAssert
        Enter into a chained 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
        Overrides:
        caseTask in class AbstractCaseAssert<CaseInstanceAssert,​CaseInstance>
        Parameters:
        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'.
        Returns:
        the only CaseExecution resulting from the given search. A 'null' CaseExecution in case no such CaseExecution is available.
      • caseTask

        public CaseTaskAssert caseTask​(java.lang.String activityId)
        Description copied from class: AbstractCaseAssert
        Enter into a chained 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
        Overrides:
        caseTask in class AbstractCaseAssert<CaseInstanceAssert,​CaseInstance>
        Parameters:
        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'.
        Returns:
        the only CaseExecution with the given activitiy id. A 'null' CaseExecution in case no such CaseExecution is available.
      • processTask

        public ProcessTaskAssert processTask​(CaseExecutionQuery query)
        Description copied from class: AbstractCaseAssert
        Enter into a chained 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
        Overrides:
        processTask in class AbstractCaseAssert<CaseInstanceAssert,​CaseInstance>
        Parameters:
        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'.
        Returns:
        the only CaseExecution resulting from the given search. A 'null' CaseExecution in case no such CaseExecution is available.
      • processTask

        public ProcessTaskAssert processTask​(java.lang.String activityId)
        Description copied from class: AbstractCaseAssert
        Enter into a chained 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
        Overrides:
        processTask in class AbstractCaseAssert<CaseInstanceAssert,​CaseInstance>
        Parameters:
        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'.
        Returns:
        the only CaseExecution with the given activitiy id. A 'null' CaseExecution in case no such CaseExecution is available.
      • stage

        public StageAssert stage​(CaseExecutionQuery query)
        Description copied from class: AbstractCaseAssert
        Enter into a chained 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
        Overrides:
        stage in class AbstractCaseAssert<CaseInstanceAssert,​CaseInstance>
        Parameters:
        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'.
        Returns:
        the only CaseExecution resulting from the given search. A 'null' CaseExecution in case no such CaseExecution is available.
      • stage

        public StageAssert stage​(java.lang.String activityId)
        Description copied from class: AbstractCaseAssert
        Enter into a chained 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
        Overrides:
        stage in class AbstractCaseAssert<CaseInstanceAssert,​CaseInstance>
        Parameters:
        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'.
        Returns:
        the only CaseExecution with the given activitiy id. A 'null' CaseExecution in case no such CaseExecution is available.
      • milestone

        public MilestoneAssert milestone​(CaseExecutionQuery query)
        Description copied from class: AbstractCaseAssert
        Enter into a chained 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
        Overrides:
        milestone in class AbstractCaseAssert<CaseInstanceAssert,​CaseInstance>
        Parameters:
        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'.
        Returns:
        the only CaseExecution resulting from the given search. A 'null' CaseExecution in case no such CaseExecution is available.
      • milestone

        public MilestoneAssert milestone​(java.lang.String activityId)
        Description copied from class: AbstractCaseAssert
        Enter into a chained 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
        Overrides:
        milestone in class AbstractCaseAssert<CaseInstanceAssert,​CaseInstance>
        Parameters:
        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'.
        Returns:
        the only CaseExecution with the given activitiy id. A 'null' CaseExecution in case no such CaseExecution is available.