@Test(expected = ListenerReadOnlyException.class) public void testRefresh() throws Exception { Lock mockLock = mock(Lock.class); LockFacade<Session> facade = getFacade(mockLock); facade.refresh(); }
@Override public void refresh() throws RepositoryException { throw new ListenerReadOnlyException(); }
LockFacade implements Lock { @Override public void refresh() throws RepositoryException { throw new ListenerReadOnlyException(); } }
LockFacade implements Lock { @Override public void refresh() throws RepositoryException { throw new ListenerReadOnlyException(); } LockFacade(final @NotNull Lock delegate, final @NotNull SessionFacade<S> session); }
LockFacade implements Lock { @Override public void refresh() throws RepositoryException { throw new ListenerReadOnlyException(); } LockFacade(final @NotNull Lock delegate, final @NotNull SessionFacade<S> session); @Override String getLockOwner(); @Override boolean isDeep(); @Override Node getNode(); @Override String getLockToken(); @Override long getSecondsRemaining(); @Override boolean isLive(); @Override boolean isSessionScoped(); @Override boolean isLockOwningSession(); @Override void refresh(); }
LockFacade implements Lock { @Override public void refresh() throws RepositoryException { throw new ListenerReadOnlyException(); } LockFacade(final @NotNull Lock delegate, final @NotNull SessionFacade<S> session); @Override String getLockOwner(); @Override boolean isDeep(); @Override Node getNode(); @Override String getLockToken(); @Override long getSecondsRemaining(); @Override boolean isLive(); @Override boolean isSessionScoped(); @Override boolean isLockOwningSession(); @Override void refresh();  }