LockFacade implements Lock { @Override public Node getNode() { return NodeFacade.wrap(delegate.getNode(), session); } 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();  }
@Test public void testGetNode() throws Exception { new FacadeGetterMapping.Tester<>(Lock.class, this::getFacade) .testFacadeGetter(Node.class, NodeFacade.class, Lock::getNode); }