com.tibco.cep.runtime.service.tester.beunit

## Class ExpectationType

- java.lang.Object
- - java.lang.Enum
  - - com.tibco.cep.runtime.service.tester.beunit.ExpectationType

- All Implemented Interfaces:
    java.lang.Comparable

      public final class ExpectationType
      extends java.lang.Enum

  Represents a set of expectations to be used with an `Expecter` for BE Unit Test suites
  Since:
    5.4.0
  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static ExpectationType` | `CONCEPT_ASSERTED` Expect that a concept has been asserted during the test run. Note that this does not include the concepts asserted by the test suite itself
    `static ExpectationType` | `CONCEPT_MODIFICATION` Expect that a concept has been modified during the test run
    `static ExpectationType` | `EVENT_ASSERTED` Expect that an event has been asserted during the test run. Note that this does not include the events asserted by the test suite itself
    `static ExpectationType` | `EVENT_RETRACTED` Expect that an event has been retracted from working memory during the test run
    `static ExpectationType` | `EVENT_SENT` Expect that an event has been sent on a destination. Note that this does not require that the event is sent successfully, only that an attempt to send the event has been made
    `static ExpectationType` | `RULE_EXECTION` Deprecated. - Use RULE_EXECUTION instead
    `static ExpectationType` | `RULE_EXECUTION` Expect that a rule has been executed during the test run
    `static ExpectationType` | `TIME_EVENT_SCHEDULED` Expect that a time event has been scheduled during the test run
    `static ExpectationType` | `WORK_REMOVED` Expect that scheduled work has been removed through the scheduler functions `ClusterFunctions`
    `static ExpectationType` | `WORK_SCHEDULED` Expect that work has been scheduled through the scheduler functions `ClusterFunctions`

- - ### Field Detail

    - #### RULE_EXECTION

          public static final ExpectationType RULE_EXECTION

      Deprecated. - Use RULE_EXECUTION instead
      Expect that a rule has been executed during the test run
      Since:
        5.4.0

    - #### RULE_EXECUTION

          public static final ExpectationType RULE_EXECUTION

      Expect that a rule has been executed during the test run
      Since:
        5.4.0

    - #### CONCEPT_MODIFICATION

          public static final ExpectationType CONCEPT_MODIFICATION

      Expect that a concept has been modified during the test run
      Since:
        5.4.0

    - #### CONCEPT_ASSERTED

          public static final ExpectationType CONCEPT_ASSERTED

      Expect that a concept has been asserted during the test run.
      Note that this does not include the concepts asserted by the test suite itself
      Since:
        5.4.0

    - #### EVENT_ASSERTED

          public static final ExpectationType EVENT_ASSERTED

      Expect that an event has been asserted during the test run.
      Note that this does not include the events asserted by the test suite itself
      Since:
        5.4.0

    - #### TIME_EVENT_SCHEDULED

          public static final ExpectationType TIME_EVENT_SCHEDULED

      Expect that a time event has been scheduled during the test run
      Since:
        5.4.0

    - #### EVENT_RETRACTED

          public static final ExpectationType EVENT_RETRACTED

      Expect that an event has been retracted from working memory during the test run
      Since:
        5.4.0

    - #### WORK_SCHEDULED

          public static final ExpectationType WORK_SCHEDULED

      Expect that work has been scheduled through the scheduler functions
      `ClusterFunctions`
      Since:
        5.4.0

    - #### WORK_REMOVED

          public static final ExpectationType WORK_REMOVED

      Expect that scheduled work has been removed through the scheduler functions
      `ClusterFunctions`
      Since:
        5.4.0

    - #### EVENT_SENT

          public static final ExpectationType EVENT_SENT

      Expect that an event has been sent on a destination.
      Note that this does not require that the event is sent successfully, only that an attempt to send the event has been made
      Since:
        5.4.0