@Test
public void createDomElement() {

    when(scenarioGridModelMock.getSelectedCellsOrigin()).thenReturn(new GridData.SelectedCell(0, 0));
    when(factMappingMock.getExpressionAlias()).thenReturn(MAP_CLASS_NAME);
    when(factMappingMock.getClassName()).thenReturn(MAP_CLASS_NAME);
    collectionEditorSingletonDOMElementFactorySpy.createDomElement(scenarioGridLayerMock, scenarioGridMock);
    verify(collectionEditorViewImpl, times(1)).addDomHandler(isA(MouseWheelHandler.class), eq(MouseWheelEvent.getType()));
    verify(collectionEditorViewImpl, times(1)).addDomHandler(isA(ContextMenuHandler.class), eq(ContextMenuEvent.getType()));
}