Search in sources :

Example 1 with RedoEvent

use of org.drools.workbench.screens.scenariosimulation.client.events.RedoEvent in project drools-wb by kiegroup.

the class ScenarioSimulationEventHandlerTest method onRedoEvent.

@Test
public void onRedoEvent() {
    RedoEvent event = new RedoEvent();
    scenarioSimulationEventHandler.onEvent(event);
    verify(scenarioCommandRegistryManagerMock, times(1)).redo(eq(scenarioSimulationContextLocal));
}
Also used : RedoEvent(org.drools.workbench.screens.scenariosimulation.client.events.RedoEvent) Test(org.junit.Test) AbstractScenarioSimulationTest(org.drools.workbench.screens.scenariosimulation.client.AbstractScenarioSimulationTest)

Aggregations

AbstractScenarioSimulationTest (org.drools.workbench.screens.scenariosimulation.client.AbstractScenarioSimulationTest)1 RedoEvent (org.drools.workbench.screens.scenariosimulation.client.events.RedoEvent)1 Test (org.junit.Test)1