Interface that should be implemented in order to define a synchronous command

Remarks

Since 1.5.0

Type Parameters

  • Model extends object

  • Real

Hierarchy

Methods

Methods

  • Check if the model is in the right state to apply the command

    WARNING: does not change the model

    Remarks

    Since 1.5.0

    Parameters

    • m: Readonly<Model>

      Model, simplified or schematic representation of real system

    Returns boolean

  • Receive the non-updated model and the real or system under test. Perform the checks post-execution - Throw in case of invalid state. Update the model accordingly

    Remarks

    Since 1.5.0

    Parameters

    • m: Model

      Model, simplified or schematic representation of real system

    • r: Real

      Sytem under test

    Returns void

Generated using TypeDoc