@Test
public void getSettingsView() {

    SettingsView settingsViewMock = mock(SettingsView.class);
    AbstractWorkbenchActivity activityMock = mock(AbstractWorkbenchActivity.class);
    when(activityMock.getWidget()).thenReturn(settingsViewMock);
    PlaceRequest placeRequest = abstractScenarioSimulationDocksHandlerSpy.getCurrentRightDockPlaceRequest(SettingsPresenter.IDENTIFIER);
    when(placeManagerMock.getActivity(eq(placeRequest))).thenReturn(activityMock);
    Optional<SettingsView> optional = abstractScenarioSimulationDocksHandlerSpy.getSettingsView(placeRequest);
    assertSame(settingsViewMock, optional.get());
}