WorldpayCancelOrderAction extends AbstractComponentWidgetAdapterAware implements CockpitAction<OrderModel, OrderModel> { @Override public boolean needsConfirmation(ActionContext<OrderModel> actionContext) { return false; }  @Override boolean canPerform(final ActionContext<OrderModel> actionContext); @Override String getConfirmationMessage(ActionContext<OrderModel> actionContext); @Override boolean needsConfirmation(ActionContext<OrderModel> actionContext); @Override ActionResult<OrderModel> perform(ActionContext<OrderModel> actionContext);  }
@Test public void testNeedsConfirmation() throws Exception { assertFalse(testObj.needsConfirmation(actionContextMock)); }