@Test @SuppressWarnings("unchecked") public void testApplyState() { tested.applyState(ShapeState.NONE); verify(shapeStateHandler, never()).shapeAttributesChanged(); verify(shapeStateHandler, times(1)).applyState(eq(ShapeState.NONE)); }
@Override public void applyState(final ShapeState shapeState) { shapeStateHandler .applyState(shapeState); }
ShapeImpl extends AbstractShape<V> { @Override public void applyState(final ShapeState shapeState) { shapeStateHandler .applyState(shapeState); } }
ShapeImpl extends AbstractShape<V> { @Override public void applyState(final ShapeState shapeState) { shapeStateHandler .applyState(shapeState); } ShapeImpl(final V view,
                     final ShapeStateHandler shapeStateHandler); }
ShapeImpl extends AbstractShape<V> { @Override public void applyState(final ShapeState shapeState) { shapeStateHandler .applyState(shapeState); } ShapeImpl(final V view,
                     final ShapeStateHandler shapeStateHandler); void setUUID(final String uuid); @Override String getUUID(); @Override void beforeDraw(); @Override void afterDraw(); @Override void applyState(final ShapeState shapeState); ShapeStateHandler getShapeStateHandler(); @Override V getShapeView(); @Override boolean equals(final Object o); @Override int hashCode(); }
ShapeImpl extends AbstractShape<V> { @Override public void applyState(final ShapeState shapeState) { shapeStateHandler .applyState(shapeState); } ShapeImpl(final V view,
                     final ShapeStateHandler shapeStateHandler); void setUUID(final String uuid); @Override String getUUID(); @Override void beforeDraw(); @Override void afterDraw(); @Override void applyState(final ShapeState shapeState); ShapeStateHandler getShapeStateHandler(); @Override V getShapeView(); @Override boolean equals(final Object o); @Override int hashCode();  }