@Test public void testTransform() { Transform transform = mock(Transform.class); when(lienzoLayer.getTransform()).thenReturn(transform); assertEquals(transform, tested.getTransform()); }
@Override public Transform getTransform() { return getLayer().getTransform(); }
LienzoCanvasView extends AbstractCanvasView<LienzoCanvasView> { @Override public Transform getTransform() { return getLayer().getTransform(); } }
LienzoCanvasView extends AbstractCanvasView<LienzoCanvasView> { @Override public Transform getTransform() { return getLayer().getTransform(); } LienzoCanvasView();  LienzoCanvasView(final BiFunction<Integer, Integer, IPrimitive<?>> decoratorFactory); }
LienzoCanvasView extends AbstractCanvasView<LienzoCanvasView> { @Override public Transform getTransform() { return getLayer().getTransform(); } LienzoCanvasView();  LienzoCanvasView(final BiFunction<Integer, Integer, IPrimitive<?>> decoratorFactory); abstract L getLayer(); @Override LienzoCanvasView<L> add(final ShapeView<?> shape); @Override LienzoCanvasView<L> delete(final ShapeView<?> shape); @Override LienzoCanvasView<L> setGrid(final CanvasGrid grid); LienzoCanvasView<L> setDecoratorFactory(final BiFunction<Integer, Integer, IPrimitive<?>> decoratorFatory); @Override LienzoCanvasView<L> clear(); @Override Transform getTransform(); LienzoPanel getLienzoPanel(); }
LienzoCanvasView extends AbstractCanvasView<LienzoCanvasView> { @Override public Transform getTransform() { return getLayer().getTransform(); } LienzoCanvasView();  LienzoCanvasView(final BiFunction<Integer, Integer, IPrimitive<?>> decoratorFactory); abstract L getLayer(); @Override LienzoCanvasView<L> add(final ShapeView<?> shape); @Override LienzoCanvasView<L> delete(final ShapeView<?> shape); @Override LienzoCanvasView<L> setGrid(final CanvasGrid grid); LienzoCanvasView<L> setDecoratorFactory(final BiFunction<Integer, Integer, IPrimitive<?>> decoratorFatory); @Override LienzoCanvasView<L> clear(); @Override Transform getTransform(); LienzoPanel getLienzoPanel();  }