use of org.kie.workbench.common.dmn.client.shape.def.DMNSVGShapeDefImpl in project kie-wb-common by kiegroup.
the class DMNViewHandlersTest method testNewSizeHandler.
@Test
public void testNewSizeHandler() {
final SizeHandler<DMNViewDefinition, SVGShapeView> handler = new DMNSVGShapeDefImpl().newSizeHandler();
handler.handle(view, shape);
verify(shape).setSizeConstraints(eq(Width.MIN), eq(Height.MIN), eq(Width.MAX), eq(Height.MAX));
}
Aggregations