public static Configuration newConfiguration(@Nullable SerializableConfiguration conf) {
    if (conf == null) {
      return new Configuration();
    } else {
      return conf.get();
    }
  }
@Test
  public void testCreateNewConfiguration() {
    Configuration confFromNull = SerializableConfiguration.newConfiguration(null);
    assertNotNull(confFromNull);
    Configuration conf =
        SerializableConfiguration.newConfiguration(new SerializableConfiguration(confFromNull));
    assertNotNull(conf);
  }