RowFacade implements Row { @Override public Node getNode() throws RepositoryException { return NodeFacade.wrap(delegate.getNode(), session); } @SuppressWarnings("WeakerAccess")  RowFacade(final @NotNull Row delegate, final @NotNull SessionFacade<S> session); @Override Value[] getValues(); @Override Value getValue(String columnName); @Override Node getNode(); @Override Node getNode(String selectorName); @Override String getPath(); @Override String getPath(String selectorName); @Override double getScore(); @Override double getScore(String selectorName);  }
@Test public void testGetNode() throws Exception { new FacadeGetterMapping.Tester<>(Row.class, this::getFacade) .testFacadeGetter(Node.class, NodeFacade.class, Row::getNode) .testFacadeGetter(Node.class, NodeFacade.class, row -> row.getNode("")); }