### Question:
CtrlLeftClickDetailsRequester implements MouseClickClosure { @Override public void mouseClicked(MouseButton button, MetaKey key, Coordinate coordinate, int clickCount) { if (button != MouseButton.Primary || key != MetaKey.CTRL) { return; } polygonPanel.onElementAtPoint(coordinate).perform(new Closure() { @Override public void execute(InteractiveGraphicsElement polygon) { cascade.addToggleListener(listener); polygon.toggle(); cascade.removeToggleListener(listener); } }); } CtrlLeftClickDetailsRequester(Cascade cascade, PolygonPanel polygonPanel,
                                       NodeInteractionListener interactionListener); @Override void mouseClicked(MouseButton button, MetaKey key, Coordinate coordinate, int clickCount);  }### Answer:
@Test public void informsListenerOfToggledElement() throws Exception { requester.mouseClicked(MouseButton.Primary, MetaKey.CTRL, AnyCoordinate, 1); verify(listener).nodeDetailsDemanded("X"); }
@Test public void doesNotBindToElementPermanently() throws Exception { requester.mouseClicked(MouseButton.Primary, MetaKey.CTRL, AnyCoordinate, 1); polygon.toggle(); verify(listener, times(1)).nodeDetailsDemanded("X"); }
@Test public void doesNothingOnRightClick() throws Exception { requester.mouseClicked(MouseButton.Secondary, MetaKey.CTRL, AnyCoordinate, 1); verifyZeroInteractions(panel); }
@Test public void doesNothingOnLeftClickWithoutControlPressed() throws Exception { requester.mouseClicked(MouseButton.Primary, MetaKey.NONE, AnyCoordinate, 1); verifyZeroInteractions(panel); }