@Override
  protected PathMatcher realMatcher(String pattern) {
    FileSystem defaultFileSystem = FileSystems.getDefault();
    if ("/".equals(defaultFileSystem.getSeparator())) {
      return defaultFileSystem.getPathMatcher("glob:" + pattern);
    }
    return null;
  }
Tests for {@link PathMatcher} instances created by {@link GlobToRegex}.

@author Colin Decker
jimfs/src/test/java/com/google/common/jimfs/RegexGlobMatcherTest.java