Search in sources :

Example 1 with DefaultGridLayer

use of org.uberfire.ext.wires.core.grids.client.widget.layer.impl.DefaultGridLayer in project drools-wb by kiegroup.

the class GuidedDecisionTableModellerViewImplTest method testSelect.

@Test
public void testSelect() {
    final GridWidget gridWidget = mock(GridWidget.class);
    final DefaultGridLayer gridLayer = mock(DefaultGridLayer.class);
    doReturn(gridLayer).when(view).getGridLayer();
    view.select(gridWidget);
    verify(gridLayer).select(gridWidget);
}
Also used : GridWidget(org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget) DefaultGridLayer(org.uberfire.ext.wires.core.grids.client.widget.layer.impl.DefaultGridLayer) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 GridWidget (org.uberfire.ext.wires.core.grids.client.widget.grid.GridWidget)1 DefaultGridLayer (org.uberfire.ext.wires.core.grids.client.widget.layer.impl.DefaultGridLayer)1