@Override
    public void accept(MetadataShellState state) {
        String fullGlob = glob.startsWith("/") ? glob :
            state.workingDirectory() + "/" + glob;
        List<String> globComponents =
            CommandUtils.stripDotPathComponents(CommandUtils.splitPath(fullGlob));
        MetadataNode root = state.root();
        if (root == null) {
            throw new RuntimeException("Invalid null root");
        }
        if (!accept(globComponents, 0, root, new String[0])) {
            handler.accept(Optional.empty());
        }
    }
@Test
    public void testNotFoundGlob() {
        InfoConsumer consumer = new InfoConsumer();
        GlobVisitor visitor = new GlobVisitor("epsilon", consumer);
        visitor.accept(DATA);
        assertEquals(Optional.empty(), consumer.infos);
    }