@Test public void testApplyState() { final ShapeState state = ShapeState.SELECTED; mocked.applyState(state); verify(lienzoShape, times(1)).applyState(eq(state)); verify(lienzoShape, times(0)).beforeDraw(); verify(lienzoShape, times(0)).afterDraw(); }
@Override public void applyState(final ShapeState shapeState) { shape.applyState(shapeState); }
SVGShapeImpl implements SVGShape<SVGShapeViewImpl> { @Override public void applyState(final ShapeState shapeState) { shape.applyState(shapeState); } }
SVGShapeImpl implements SVGShape<SVGShapeViewImpl> { @Override public void applyState(final ShapeState shapeState) { shape.applyState(shapeState); } @SuppressWarnings("unchecked")  SVGShapeImpl(final SVGShapeViewImpl view); @SuppressWarnings("unchecked")  SVGShapeImpl(final SVGShapeViewImpl view,
                 final LienzoShape<LienzoShapeView> shape); }
SVGShapeImpl implements SVGShape<SVGShapeViewImpl> { @Override public void applyState(final ShapeState shapeState) { shape.applyState(shapeState); } @SuppressWarnings("unchecked")  SVGShapeImpl(final SVGShapeViewImpl view); @SuppressWarnings("unchecked")  SVGShapeImpl(final SVGShapeViewImpl view,
                 final LienzoShape<LienzoShapeView> shape); @Override void setUUID(final String uuid); @Override String getUUID(); @Override void beforeDraw(); @Override void afterDraw(); @Override void applyState(final ShapeState shapeState); @Override SVGShapeViewImpl getShapeView(); }
SVGShapeImpl implements SVGShape<SVGShapeViewImpl> { @Override public void applyState(final ShapeState shapeState) { shape.applyState(shapeState); } @SuppressWarnings("unchecked")  SVGShapeImpl(final SVGShapeViewImpl view); @SuppressWarnings("unchecked")  SVGShapeImpl(final SVGShapeViewImpl view,
                 final LienzoShape<LienzoShapeView> shape); @Override void setUUID(final String uuid); @Override String getUUID(); @Override void beforeDraw(); @Override void afterDraw(); @Override void applyState(final ShapeState shapeState); @Override SVGShapeViewImpl getShapeView();  }