@Test
public void testProxyPropertiesAll() {

  HadoopConfigurationProperty<String> gcsProxyUsername =
      new HadoopConfigurationProperty<>(
          GCS_CONFIG_PREFIX + PROXY_USERNAME_SUFFIX.getKey(), "proxy-user");
  HadoopConfigurationProperty<String> gcsProxyPassword =
      new HadoopConfigurationProperty<>(
          GCS_CONFIG_PREFIX + PROXY_PASSWORD_SUFFIX.getKey(), "proxy-pass");
  HadoopConfigurationProperty<String> gcsProxyAddress =
      new HadoopConfigurationProperty<>(
          GCS_CONFIG_PREFIX + PROXY_ADDRESS_SUFFIX.getKey(), "proxy-address");
  Configuration config = new Configuration();
  config.set(gcsProxyUsername.getKey(), gcsProxyUsername.getDefault());
  config.set(gcsProxyPassword.getKey(), gcsProxyPassword.getDefault());
  config.set(gcsProxyAddress.getKey(), gcsProxyAddress.getDefault());
  GoogleCloudStorageFileSystemOptions options =
      GoogleHadoopFileSystemConfiguration.getGcsFsOptionsBuilder(config).build();
  assertThat(options.getCloudStorageOptions().getProxyUsername()).isNotNull();
  assertThat(options.getCloudStorageOptions().getProxyUsername().value()).isEqualTo("proxy-user");
  assertThat(options.getCloudStorageOptions().getProxyUsername().toString())
      .isEqualTo("<redacted>");
  assertThat(options.getCloudStorageOptions().getProxyPassword()).isNotNull();
  assertThat(options.getCloudStorageOptions().getProxyPassword().value()).isEqualTo("proxy-pass");
  assertThat(options.getCloudStorageOptions().getProxyPassword().toString())
      .isEqualTo("<redacted>");
  assertThat(options.getCloudStorageOptions().getProxyAddress()).isEqualTo("proxy-address");
}