@Test
public void setCurrentContextSimulationBackground() {

    final ScenarioSimulationContext.Status status = scenarioSimulationContextLocal.getStatus();
    commandSpy.restorableStatus = status;
    final CommandResult<ScenarioSimulationViolation> retrieved = commandSpy.setCurrentContext(scenarioSimulationContextLocal);
    assertEquals(CommandResult.Type.INFO, retrieved.getType());
    verify(scenarioGridModelMock, times(1)).clearSelections();
    verify(backgroundGridModelMock, times(1)).clearSelections();
    verify(scenarioGridMock, times(1)).setContent(eq(simulationMock), eq(scenarioSimulationContextLocal.getSettings().getType()));
    verify(scenarioSimulationModelMock, times(1)).setSimulation(eq(simulationMock));
    verify(backgroundGridMock, times(1)).setContent(eq(backgroundMock), eq(scenarioSimulationContextLocal.getSettings().getType()));
    verify(scenarioSimulationModelMock, times(1)).setBackground(eq(backgroundMock));
    verify(scenarioSimulationEditorPresenterMock, times(1)).reloadTestTools(eq(true));
    verify(commandSpy, times(1)).commonExecution(eq(scenarioSimulationContextLocal));
    assertNotEquals(status, commandSpy.restorableStatus);
}