### Question:
ResourceTree { public static Stream<ResourceTree> stream(Resource resource) { return new ResourceTree(resource).streamTree(); } private  ResourceTree(Resource root); static Stream<ResourceTree> stream(Resource resource); static Stream<ResourceTree> stream(Resource resource, String filterType); static Stream<ResourceTree> stream(Resource resource, Predicate<Resource> filterTraversal,
            Predicate<ResourceTree> filterInclude); Resource getResource();  }### Answer:
@Test public void testSimple() { context.currentResource("/content"); Stream<ResourceTree> tree = ResourceTree.stream(context.currentResource()); assertEquals(16, tree.count()); }