@Test
public void testPropertyCreation_withNullDeprecationKey() {

  HadoopConfigurationProperty<Integer> newKeyWithoutDeprecatedKey =
      new HadoopConfigurationProperty<>("actual.key", 0, (String[]) null);
  assertThat(newKeyWithoutDeprecatedKey.getDefault()).isEqualTo(0);
}