### Question:
JcrTools { public String getReadable( Node node ) { if (node == null) return ""; try { return node.getPath(); } catch (RepositoryException err) { return node.toString(); } }  int removeAllChildren( Node node ); Node getNode( Node node,
                         String relativePath,
                         boolean required ); String getReadable( Node node ); MimeTypeDetector mimeTypeDetector( Session session ); String detectMimeType( Session session,
                                  String fileName ); String detectMimeType( Session session,
                                  File file,
                                  boolean useContent ); String detectMimeType( Session session,
                                  URL url,
                                  boolean useContent ); Node uploadFile( Session session,
                            String path,
                            InputStream stream ); Node uploadFile( Session session,
                            String path,
                            URL contentUrl ); Node uploadFile( Session session,
                            String path,
                            File file ); Node findOrCreateNode( Session session,
                                  String path ); Node findOrCreateNode( Session session,
                                  String path,
                                  String nodeType ); Node findOrCreateNode( Session session,
                                  String path,
                                  String defaultNodeType,
                                  String finalNodeType ); Node findOrCreateNode( Node parentNode,
                                  String path,
                                  String defaultNodeType,
                                  String finalNodeType ); Node findOrCreateChild( Node parent,
                                   String name ); Node findOrCreateChild( Node parent,
                                   String name,
                                   String nodeType ); void printSubgraph( Node node ); void printSubgraph( Node node,
                               int maxDepth ); void printNode( Node node ); void printSubgraph( Node node,
                               String lead,
                               int depthOfSubgraph,
                               int maxDepthOfSubgraph );  }### Answer:
@Test public void testGetReadable() { String personStr = tools.getReadable(personNode); assertThat(personStr, is("/Person")); }