@Test
public void initialize_EnvelopeAvailable() {

    scenarioSimulationKogitoStateControlManagerSpy.initialize(scenarioCommandRegistryManagerMock, scenarioSimulationContextMock);
    verify(stateControlSpy, times(1)).setUndoCommand(stateControlUndoCommandCaptor.capture());
    verify(stateControlSpy, times(1)).setRedoCommand(stateControlRedoCommandCaptor.capture());
    stateControlUndoCommandCaptor.getValue().execute();
    verify(scenarioCommandRegistryManagerMock, times(1)).undo(eq(scenarioSimulationContextMock));
    stateControlRedoCommandCaptor.getValue().execute();
    verify(scenarioCommandRegistryManagerMock, times(1)).redo(eq(scenarioSimulationContextMock));
}