Search in sources :

Example 1 with EventAppliers

use of io.camunda.zeebe.engine.state.appliers.EventAppliers in project zeebe by camunda.

the class VariableBehaviorTest method beforeEach.

@BeforeEach
void beforeEach() {
    final var stateWriter = new EventApplyingStateWriter(eventWriter, new EventAppliers(zeebeState));
    state = zeebeState.getVariableState();
    behavior = new VariableBehavior(state, stateWriter, zeebeState.getKeyGenerator());
}
Also used : EventAppliers(io.camunda.zeebe.engine.state.appliers.EventAppliers) EventApplyingStateWriter(io.camunda.zeebe.engine.processing.streamprocessor.writers.EventApplyingStateWriter) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 2 with EventAppliers

use of io.camunda.zeebe.engine.state.appliers.EventAppliers in project zeebe by zeebe-io.

the class VariableBehaviorTest method beforeEach.

@BeforeEach
void beforeEach() {
    final var stateWriter = new EventApplyingStateWriter(eventWriter, new EventAppliers(zeebeState));
    state = zeebeState.getVariableState();
    behavior = new VariableBehavior(state, stateWriter, zeebeState.getKeyGenerator());
}
Also used : EventAppliers(io.camunda.zeebe.engine.state.appliers.EventAppliers) EventApplyingStateWriter(io.camunda.zeebe.engine.processing.streamprocessor.writers.EventApplyingStateWriter) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 3 with EventAppliers

use of io.camunda.zeebe.engine.state.appliers.EventAppliers in project zeebe by camunda-cloud.

the class VariableBehaviorTest method beforeEach.

@BeforeEach
void beforeEach() {
    final var stateWriter = new EventApplyingStateWriter(eventWriter, new EventAppliers(zeebeState));
    state = zeebeState.getVariableState();
    behavior = new VariableBehavior(state, stateWriter, zeebeState.getKeyGenerator());
}
Also used : EventAppliers(io.camunda.zeebe.engine.state.appliers.EventAppliers) EventApplyingStateWriter(io.camunda.zeebe.engine.processing.streamprocessor.writers.EventApplyingStateWriter) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

EventApplyingStateWriter (io.camunda.zeebe.engine.processing.streamprocessor.writers.EventApplyingStateWriter)3 EventAppliers (io.camunda.zeebe.engine.state.appliers.EventAppliers)3 BeforeEach (org.junit.jupiter.api.BeforeEach)3