FilesystemResource extends DirectoryResource implements RootResource, FSResource { @Override public String id() { return this.id; } FilesystemResource(FileSystemAdminResource adminResource, String id, Vertx vertx); @Override File file(); @Override Resource parent(); @Override void parent(Resource parent); @Override Vertx vertx(); @Override String id(); String toString();  }
@Test public void testRoot() throws Exception { ResourceState result = client.read(new RequestContext.Builder().build(), "/testApp/files"); assertThat(result).isNotNull(); assertThat(result.members()).hasSize(1); ResourceState file = result.members().get(0); assertThat(file.id()).isEqualTo("test-file1.txt"); }