### Question:
ModeShapeWebdavStore implements IWebdavStore { @Override public String[] getChildrenNames( ITransaction transaction, String folderUri ) { try { logger.trace("WebDAV getChildrenNames(txn,\"" + folderUri + "\")"); ResolvedRequest resolved = resolveRequest(transaction, folderUri); logger.trace("WebDAV -> resolves to: " + resolved); if (resolved.getPath() == null) { return childrenFor(transaction, resolved); } Node node = nodeFor(transaction, resolved); logger.trace("WebDAV -> node: " + node); if (isFile(node) || isContent(node)) return null; List<String> children = namesOfChildren(node); logger.trace("WebDAV -> children: " + children); return children.toArray(new String[children.size()]); } catch (RepositoryException re) { throw new WebdavException(re); } } ModeShapeWebdavStore( RequestResolver uriResolver );  ModeShapeWebdavStore( String contentPrimaryTypes,
                                 String filePrimaryTypes,
                                 String newFolderPrimaryType,
                                 String newResourcePrimaryType,
                                 String newContentPrimaryType,
                                 RequestResolver requestResolver ); @Override ITransaction begin( Principal principal ); @Override void commit( ITransaction transaction ); @Override void rollback( ITransaction transaction ); @Override void checkAuthentication( ITransaction transaction ); @Override void createFolder( ITransaction transaction,
                              String folderUri ); @Override void createResource( ITransaction transaction,
                                String resourceUri ); @Override String[] getChildrenNames( ITransaction transaction,
                                      String folderUri ); @Override InputStream getResourceContent( ITransaction transaction,
                                           String resourceUri ); @Override long getResourceLength( ITransaction transaction,
                                   String uri ); @Override StoredObject getStoredObject( ITransaction transaction,
                                         String uri ); @Override void removeObject( ITransaction transaction,
                              String uri ); @Override long setResourceContent( ITransaction transaction,
                                    String resourceUri,
                                    InputStream content,
                                    String contentType,
                                    String characterEncoding );  }### Answer:
@Test public void shouldListFilesAtRoot() throws Exception { String[] children = store.getChildrenNames(tx, "/"); compareChildrenWithSession(children, "/"); }