Interface Mocker.WithMock

Enclosing interface:
Mocker

public static interface Mocker.WithMock
Since:
9.1
API:
This is a public API.
  • Method Details

    • withNoAction

      void withNoAction()
      Mocks the element with no action. The mock simply forwards the in process data as output (out=in;)
      API:
      This public API is available in Java.
    • with

      <T extends CompositeObject> void with(UnaryOperator<T> mock)
      Mocks the element with the given mock operator.
      Parameters:
      mock - operation that should be executed instead of the element.
      API:
      This public API is available in Java.
    • with

      <T extends CompositeObject> void with(Class<T> type, UnaryOperator<T> mock)
      Mocks the element with the given mock operator.
      Parameters:
      type - process data type
      mock - operation that should be executed instead of the UI element.
      API:
      This public API is available in Java.
    • with

      <T extends CompositeObject> void with(Mocker.DataMapper<T> mock)
      Mocks the element with the given data mapper.
      Parameters:
      mock - operation that should be executed instead of the element.
      API:
      This public API is available in Java.
    • with

      <T extends CompositeObject> void with(Class<T> type, Mocker.DataMapper<T> mock)
      Mocks the element with the given data mapper.
      Parameters:
      type - process data type
      mock - operation that should be executed instead of the element.
      API:
      This public API is available in Java.