public static ImmutableList<String> glob(final String glob) {
        Path path = getGlobPath(glob);

        int globIndex = getGlobIndex(path);
        if (globIndex < 0) {
            return of(glob);
        }

        return doGlob(path, searchPath(path, globIndex));
    }
@Test
    public void should_throw_exception_for_unknown_root() {
        assertThrows(MocoException.class, () -> {
            Globs.glob("unknown/src/test/resources/details/*.json");
        });
    }