@Test
public void addBackgroundPage() {

    scenarioSimulationEditorKogitoWrapperSpy.addBackgroundPage(scenarioGridWidgetMock);
    verify(multiPageEditorViewMock, times(1)).addPage(eq(2), pageCaptor.capture());
    pageCaptor.getValue().onFocus();
    verify(scenarioSimulationEditorKogitoWrapperSpy, times(1)).onBackgroundTabSelected();
    assertEquals(ScenarioSimulationEditorConstants.INSTANCE.backgroundTabTitle(), pageCaptor.getValue().getLabel());
}