public Properties getProperties() {
    return mProperties;
  }
@Test
  public void setProperties() {
    MetricsConfig config = new MetricsConfig(mMetricsProps);

    Properties masterProp = config.getProperties();
    assertEquals(4, masterProp.size());
    assertEquals("alluxio.metrics.sink.ConsoleSink",
        masterProp.getProperty("sink.console.class"));
    assertEquals("15", masterProp.getProperty("sink.console.period"));
    assertEquals("minutes", masterProp.getProperty("sink.console.unit"));
    assertEquals("alluxio.metrics.sink.JmxSink", masterProp.getProperty("sink.jmx.class"));
  }