Search in sources :

Example 6 with DMNDiagramSelected

use of org.kie.workbench.common.dmn.client.docks.navigator.drds.DMNDiagramSelected in project kie-wb-common by kiegroup.

the class DecisionNavigatorObserverTest method testOnDMNDiagramSelected.

@Test
public void testOnDMNDiagramSelected() {
    observer.init(presenter);
    observer.onDMNDiagramSelected(new DMNDiagramSelected(null));
    verify(presenter).refresh();
}
Also used : DMNDiagramSelected(org.kie.workbench.common.dmn.client.docks.navigator.drds.DMNDiagramSelected) Test(org.junit.Test)

Aggregations

DMNDiagramSelected (org.kie.workbench.common.dmn.client.docks.navigator.drds.DMNDiagramSelected)6 DMNDiagram (org.kie.workbench.common.dmn.api.definition.model.DMNDiagram)2 Diagram (org.kie.workbench.common.stunner.core.diagram.Diagram)2 EventHandler (org.jboss.errai.ui.shared.api.annotations.EventHandler)1 Test (org.junit.Test)1 DMNDiagramElement (org.kie.workbench.common.dmn.api.definition.model.DMNDiagramElement)1