@Test
public void buildFromPropertiesFile_invalidFilePath_throwsException() throws IOException {

  File nonExistentFile = new File(folder.getRoot(), "I_dont_exist.properties");
  // Invokes the fromPropertiesFile method on the builder, which should fail.
  thrown.expect(FileNotFoundException.class);
  thrown.expectMessage(nonExistentFile.getName());
  GoogleAdsClient.newBuilder().fromPropertiesFile(nonExistentFile);
}