ObservationManagerFacade implements ObservationManager { @Override public EventListenerIterator getRegisteredEventListeners() throws RepositoryException { return EMPTY_LISTENER_ITERATOR; } 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);  }
@Test public void testGetRegisteredEventListeners() throws Exception { ObservationManagerFacade facade = getFacade(mock(ObservationManager.class)); assertTrue("should always return an empty iterator", facade.getRegisteredEventListeners() instanceof EmptyEventListenerIterator); }