use of com.ait.lienzo.client.core.shape.wires.handlers.WiresConnectorControl in project kie-wb-common by kiegroup.
the class WiresConnectorViewTest method testShowControlPoints.
@Test
public void testShowControlPoints() {
final WiresConnectorControl connectorControl = mock(WiresConnectorControl.class);
tested.setControl(connectorControl);
final Object wcv = tested.showControlPoints(HasControlPoints.ControlPointType.POINTS);
assertEquals(wcv, tested);
verify(connectorControl, times(1)).showControlPoints();
verify(connectorControl, never()).hideControlPoints();
}
Aggregations