use of com.ait.lienzo.client.core.shape.wires.ILayoutHandler in project kie-wb-common by kiegroup.
the class CaseManagementContainmentAcceptorControlImplTest method checkInterceptingLayoutHandlerRemove.
@Test
public void checkInterceptingLayoutHandlerRemove() {
control.enable(canvasHandler);
final WiresShape parentShape = makeWiresShape();
final WiresShape childShape = makeWiresShape();
final ILayoutHandler layoutHandler = getILayoutHandler(parentShape, childShape);
layoutHandler.remove(childShape, parentShape);
assertTrue(parentShape.getLayoutHandler() instanceof ILayoutHandler.DefaultLayoutHandler);
}
Aggregations