### Question:
BS3PaletteWidgetViewImpl implements BS3PaletteWidgetView,
                                                 IsElement { @Override @SuppressWarnings("unchecked") public void showDragProxy(String itemId, double x, double y, double width, double height) { final Glyph glyph = presenter.getShapeDragProxyGlyph(itemId); shapeGlyphDragHandler.show(new ShapeGlyphDragHandler.Item() { @Override public Glyph getShape() { return glyph; } @Override public int getWidth() { return (int) width; } @Override public int getHeight() { return (int) height; } }, (int) x, (int) y, new ShapeGlyphDragHandler.Callback() { @Override public void onStart(int x, int y) { presenter.onDragStart(itemId, x, y); } @Override public void onMove(int x, int y) { presenter.onDragProxyMove(itemId, (double) x, (double) y); } @Override public void onComplete(int x, int y) { presenter.onDragProxyComplete(itemId, (double) x, (double) y); } }); }  @Override void init(BS3PaletteWidget presenter); @Override void setShapeGlyphDragHandler(ShapeGlyphDragHandler shapeGlyphDragHandler); @Override @SuppressWarnings("unchecked") void showDragProxy(String itemId,
                              double x,
                              double y,
                              double width,
                              double height); @Override void add(BS3PaletteWidgetPresenter widget); final void addElement(Node widget); @Override void clear(); @Override void destroy(); @Override void setBackgroundColor(String backgroundColor); @Override void showEmptyView(boolean showEmptyView);  }### Answer:
@Test @SuppressWarnings("unchecked") public void testShowDragProxy() { view.showDragProxy(ITEM_ID, X, Y, WIDTH, HEIGHT); verify(presenter).getShapeDragProxyGlyph(ITEM_ID); verify(shapeGlyphDragHandler).show(dragItemCaptor.capture(), eq((int) X), eq((int) Y), dragProxyCallbackCaptor.capture()); final Item dragItem = dragItemCaptor.getValue(); assertEquals(glyph, dragItem.getShape()); assertEquals(WIDTH, dragItem.getWidth(), 0.0); assertEquals(HEIGHT, dragItem.getHeight(), 0.0); final Callback dragProxyCallback = dragProxyCallbackCaptor.getValue(); dragProxyCallback.onStart((int) X, (int) Y); verify(presenter).onDragStart(ITEM_ID, (int) X, (int) Y); dragProxyCallback.onMove((int) X, (int) Y); verify(presenter).onDragProxyMove(ITEM_ID, (int) X, (int) Y); dragProxyCallback.onComplete((int) X, (int) Y); verify(presenter).onDragProxyComplete(ITEM_ID, (int) X, (int) Y); }