@Test public void testDisable() { tested.disable(); verify(shape, times(1)).setListening(eq(false)); }
public void disable() { listen(false); this.enabled = false; }
ViewEventHandlerManager { public void disable() { listen(false); this.enabled = false; } }
ViewEventHandlerManager { public void disable() { listen(false); this.enabled = false; } ViewEventHandlerManager(final Node<?> node,
                                   final ViewEventType... supportedTypes);  ViewEventHandlerManager(final Node<?> node,
                                   final Shape<?> shape,
                                   final ViewEventType... supportedTypes);   ViewEventHandlerManager(final Node<?> node,
                            final Shape<?> shape,
                            final GWTTimer timer,
                            final ViewEventType... supportedTypes); }
ViewEventHandlerManager { public void disable() { listen(false); this.enabled = false; } ViewEventHandlerManager(final Node<?> node,
                                   final ViewEventType... supportedTypes);  ViewEventHandlerManager(final Node<?> node,
                                   final Shape<?> shape,
                                   final ViewEventType... supportedTypes);   ViewEventHandlerManager(final Node<?> node,
                            final Shape<?> shape,
                            final GWTTimer timer,
                            final ViewEventType... supportedTypes); void enable(); void disable(); boolean supports(final ViewEventType type); @SuppressWarnings("unchecked") void addHandler(final ViewEventType type,
                           final ViewHandler<? extends ViewEvent> eventHandler); @SuppressWarnings("unchecked") void addHandlersRegistration(final ViewEventType type,
                                        final HandlerRegistration... registrations); @SuppressWarnings("unchecked") void removeHandler(final ViewHandler<? extends ViewEvent> eventHandler); @SuppressWarnings("unchecked") void destroy(); void skipClickHandler(); void restoreClickHandler(); }
ViewEventHandlerManager { public void disable() { listen(false); this.enabled = false; } ViewEventHandlerManager(final Node<?> node,
                                   final ViewEventType... supportedTypes);  ViewEventHandlerManager(final Node<?> node,
                                   final Shape<?> shape,
                                   final ViewEventType... supportedTypes);   ViewEventHandlerManager(final Node<?> node,
                            final Shape<?> shape,
                            final GWTTimer timer,
                            final ViewEventType... supportedTypes); void enable(); void disable(); boolean supports(final ViewEventType type); @SuppressWarnings("unchecked") void addHandler(final ViewEventType type,
                           final ViewHandler<? extends ViewEvent> eventHandler); @SuppressWarnings("unchecked") void addHandlersRegistration(final ViewEventType type,
                                        final HandlerRegistration... registrations); @SuppressWarnings("unchecked") void removeHandler(final ViewHandler<? extends ViewEvent> eventHandler); @SuppressWarnings("unchecked") void destroy(); void skipClickHandler(); void restoreClickHandler();  }