@Test(expected = ListenerReadOnlyException.class) public void testRORemoveEventListener() throws Exception { ObservationManagerFacade facade = getFacade(mock(ObservationManager.class)); facade.removeEventListener(null); }
@Override public void removeEventListener(EventListener listener) throws RepositoryException { throw new ListenerReadOnlyException(); }
ObservationManagerFacade implements ObservationManager { @Override public void removeEventListener(EventListener listener) throws RepositoryException { throw new ListenerReadOnlyException(); } }
ObservationManagerFacade implements ObservationManager { @Override public void removeEventListener(EventListener listener) throws RepositoryException { throw new ListenerReadOnlyException(); } ObservationManagerFacade(final @NotNull ObservationManager delegate); }
ObservationManagerFacade implements ObservationManager { @Override public void removeEventListener(EventListener listener) throws RepositoryException { throw new ListenerReadOnlyException(); } ObservationManagerFacade(final @NotNull ObservationManager delegate); @Override EventListenerIterator getRegisteredEventListeners(); @Override EventJournal getEventJournal(); @Override EventJournal getEventJournal(int eventTypes, String absPath, boolean isDeep,
                                        String[] uuid, String[] nodeTypeName); @Override void setUserData(String userData); @Override void addEventListener(EventListener listener, int eventTypes, String absPath,
                                 boolean isDeep, String[] uuid, String[] nodeTypeName,
                                 boolean noLocal); @Override void removeEventListener(EventListener listener); }
ObservationManagerFacade implements ObservationManager { @Override public void removeEventListener(EventListener listener) throws RepositoryException { throw new ListenerReadOnlyException(); } ObservationManagerFacade(final @NotNull ObservationManager delegate); @Override EventListenerIterator getRegisteredEventListeners(); @Override EventJournal getEventJournal(); @Override EventJournal getEventJournal(int eventTypes, String absPath, boolean isDeep,
                                        String[] uuid, String[] nodeTypeName); @Override void setUserData(String userData); @Override void addEventListener(EventListener listener, int eventTypes, String absPath,
                                 boolean isDeep, String[] uuid, String[] nodeTypeName,
                                 boolean noLocal); @Override void removeEventListener(EventListener listener);  }