/** * Indicates whether this tracking processor supports a "reset". Generally, a reset is supported if at least one * of the event handlers assigned to this processor supports it, and no handlers explicitly prevent the resets. * * @return {@code true} if resets are supported, {@code false} otherwise */ public boolean supportsReset() { return eventHandlerInvoker().supportsReset(); }
when(eventHandlerInvoker.supportsReset()).thenReturn(true); doReturn(true).when(eventHandlerInvoker).canHandle(any(), any()); List<TrackingToken> firstRun = new CopyOnWriteArrayList<>();
/** * Indicates whether this tracking processor supports a "reset". Generally, a reset is supported if at least one * of the event handlers assigned to this processor supports it, and no handlers explicitly prevent the resets. * * @return {@code true} if resets are supported, {@code false} otherwise */ public boolean supportsReset() { return eventHandlerInvoker().supportsReset(); }
/** * Indicates whether this tracking processor supports a "reset". Generally, a reset is supported if at least one * of the event handlers assigned to this processor supports it, and no handlers explicitly prevent the resets. * * @return {@code true} if resets are supported, {@code false} otherwise */ public boolean supportsReset() { return eventHandlerInvoker().supportsReset(); }