@Test
public void isUberfireDocksInteractionEventToManage() {

    UberfireDocksInteractionEvent uberfireDocksInteractionEventMock = mock(UberfireDocksInteractionEvent.class);
    doReturn(null).when(uberfireDocksInteractionEventMock).getTargetDock();
    assertFalse(presenterSpy.isUberfireDocksInteractionEventToManage(uberfireDocksInteractionEventMock));
    //
    UberfireDock targetDockMock = mock(UberfireDock.class);
    when(uberfireDocksInteractionEventMock.getTargetDock()).thenReturn(targetDockMock);
    when(targetDockMock.getPlaceRequest()).thenReturn(placeRequestMock);
    when(placeRequestMock.getParameter(eq(SCESIMEDITOR_ID), eq(""))).thenReturn("UNKNOWN");
    assertFalse(presenterSpy.isUberfireDocksInteractionEventToManage(uberfireDocksInteractionEventMock));
    doReturn(String.valueOf(presenterSpy.scenarioPresenterId)).when(placeRequestMock).getParameter(eq(SCESIMEDITOR_ID), eq(""));
    assertTrue(presenterSpy.isUberfireDocksInteractionEventToManage(uberfireDocksInteractionEventMock));
}