@Test
public void getCheatSheetView() {

    CheatSheetView cheatSheetViewMock = mock(CheatSheetView.class);
    AbstractWorkbenchActivity activityMock = mock(AbstractWorkbenchActivity.class);
    when(activityMock.getWidget()).thenReturn(cheatSheetViewMock);
    PlaceRequest placeRequest = abstractScenarioSimulationDocksHandlerSpy.getCurrentRightDockPlaceRequest(CheatSheetPresenter.IDENTIFIER);
    when(placeManagerMock.getActivity(eq(placeRequest))).thenReturn(activityMock);
    Optional<CheatSheetView> optional = abstractScenarioSimulationDocksHandlerSpy.getCheatSheetView(placeRequest);
    assertSame(cheatSheetViewMock, optional.get());
}