@Test public void testHighlightBodyForHasShapeStateView() { tested.highlight(viewWithState, PickerPart.ShapePart.BODY); verify(stateExecutor, times(1)).accept(eq(ShapeState.HIGHLIGHT)); verify(delegate, never()).highlight(eq(viewWithState), any(PickerPart.ShapePart.class)); }
@Override public void highlight(final WiresShape shape, final PickerPart.ShapePart part) { highlight(shape, part, ShapeState.HIGHLIGHT); }
StunnerWiresShapeStateHighlight implements WiresShapeHighlight<PickerPart.ShapePart> { @Override public void highlight(final WiresShape shape, final PickerPart.ShapePart part) { highlight(shape, part, ShapeState.HIGHLIGHT); } }
StunnerWiresShapeStateHighlight implements WiresShapeHighlight<PickerPart.ShapePart> { @Override public void highlight(final WiresShape shape, final PickerPart.ShapePart part) { highlight(shape, part, ShapeState.HIGHLIGHT); } StunnerWiresShapeStateHighlight(final WiresManager wiresManager,
                                           final Event<CanvasUnhighlightEvent> unhighlightEvent);   StunnerWiresShapeStateHighlight(final StunnerWiresShapeHighlight delegate); }
StunnerWiresShapeStateHighlight implements WiresShapeHighlight<PickerPart.ShapePart> { @Override public void highlight(final WiresShape shape, final PickerPart.ShapePart part) { highlight(shape, part, ShapeState.HIGHLIGHT); } StunnerWiresShapeStateHighlight(final WiresManager wiresManager,
                                           final Event<CanvasUnhighlightEvent> unhighlightEvent);   StunnerWiresShapeStateHighlight(final StunnerWiresShapeHighlight delegate); @Override void highlight(final WiresShape shape,
                          final PickerPart.ShapePart part); @Override void error(final WiresShape shape,
                      final PickerPart.ShapePart shapePart); @Override void restore(); }
StunnerWiresShapeStateHighlight implements WiresShapeHighlight<PickerPart.ShapePart> { @Override public void highlight(final WiresShape shape, final PickerPart.ShapePart part) { highlight(shape, part, ShapeState.HIGHLIGHT); } StunnerWiresShapeStateHighlight(final WiresManager wiresManager,
                                           final Event<CanvasUnhighlightEvent> unhighlightEvent);   StunnerWiresShapeStateHighlight(final StunnerWiresShapeHighlight delegate); @Override void highlight(final WiresShape shape,
                          final PickerPart.ShapePart part); @Override void error(final WiresShape shape,
                      final PickerPart.ShapePart shapePart); @Override void restore();  }