@Test public void testApplyState() { tested.applyState(ShapeState.INVALID); verify(shapeStateHandler, times(1)).applyState(eq(ShapeState.INVALID)); }
@Override public void applyState(final ShapeState shapeState) { getShape().applyState(shapeState); }
NodeShapeImpl extends AbstractElementShape<W, View<W>, Node<View<W>, Edge>, D, V> implements NodeShape<W, View<W>, Node<View<W>, Edge>, V>,
                   Lifecycle { @Override public void applyState(final ShapeState shapeState) { getShape().applyState(shapeState); } }
NodeShapeImpl extends AbstractElementShape<W, View<W>, Node<View<W>, Edge>, D, V> implements NodeShape<W, View<W>, Node<View<W>, Edge>, V>,
                   Lifecycle { @Override public void applyState(final ShapeState shapeState) { getShape().applyState(shapeState); } NodeShapeImpl(final D shapeDef,
                         final AbstractShape<V> shape); }
NodeShapeImpl extends AbstractElementShape<W, View<W>, Node<View<W>, Edge>, D, V> implements NodeShape<W, View<W>, Node<View<W>, Edge>, V>,
                   Lifecycle { @Override public void applyState(final ShapeState shapeState) { getShape().applyState(shapeState); } NodeShapeImpl(final D shapeDef,
                         final AbstractShape<V> shape); @Override void applyPosition(final Node<View<W>, Edge> element,
                              final MutationContext mutationContext); @Override void applyState(final ShapeState shapeState); }
NodeShapeImpl extends AbstractElementShape<W, View<W>, Node<View<W>, Edge>, D, V> implements NodeShape<W, View<W>, Node<View<W>, Edge>, V>,
                   Lifecycle { @Override public void applyState(final ShapeState shapeState) { getShape().applyState(shapeState); } NodeShapeImpl(final D shapeDef,
                         final AbstractShape<V> shape); @Override void applyPosition(final Node<View<W>, Edge> element,
                              final MutationContext mutationContext); @Override void applyState(final ShapeState shapeState);  }