@Override
  protected List<MatchResult> match(List<String> specs) throws IOException {
    return match(new File(".").getAbsolutePath(), specs);
  }
@Test
  public void testGetDefaultFileSystemException() throws Exception {
    temporaryFolder.newFile("a");

    try (MockedStatic<java.nio.file.FileSystems> mockFileSystems =
        Mockito.mockStatic(java.nio.file.FileSystems.class)) {
      mockFileSystems
          .when(java.nio.file.FileSystems::getDefault)
          .thenThrow(new RuntimeException("exception finding filesystem"));

      thrown.expect(RuntimeException.class);

      localFileSystem.match(
          ImmutableList.of(temporaryFolder.getRoot().toPath().resolve("a").toString()));
    }
  }