@Override
  public void validateInputFilePatternSupported(String filepattern) {
    getGcsPath(filepattern);
    verifyPath(filepattern);
    verifyPathIsAccessible(filepattern, "Could not find file %s");
  }
@Test
  public void testWhenBucketDoesNotExist() throws Exception {
    doThrow(new FileNotFoundException())
        .when(mockGcsUtil)
        .verifyBucketAccessible(any(GcsPath.class));
    expectedException.expect(RuntimeException.class);
    expectedException.expectCause(instanceOf(FileNotFoundException.class));
    expectedException.expectMessage("Could not find file gs://non-existent-bucket/location");
    validator.validateInputFilePatternSupported("gs://non-existent-bucket/location");
  }