@Override
  public long getMs(PropertyKey key) {
    checkArgument(key.getType() == PropertyKey.PropertyType.DURATION);
    return FormatUtils.parseTimeSize((String) get(key));
  }
@Test
  public void getMs() {
    mConfiguration.set(PropertyKey.PROXY_STREAM_CACHE_TIMEOUT_MS, "100");
    assertEquals(100,
        mConfiguration.getMs(PropertyKey.PROXY_STREAM_CACHE_TIMEOUT_MS));
  }