@Test
  public void testGetMpacksV2StagingPath() {
    Properties ambariProperties = new Properties();
    ambariProperties.setProperty(Configuration.MPACKS_V2_STAGING_DIR_PATH.getKey(), "/var/lib/ambari-server/resources/mpacks-v2/");
    Configuration conf = new Configuration(ambariProperties);
    Assert.assertEquals("/var/lib/ambari-server/resources/mpacks-v2/", conf.getMpacksV2StagingPath());
    conf = new Configuration();
    Assert.assertEquals(null, conf.getMpacksV2StagingPath());
  }
ambari.properties contains "security.server.two_way_ssl=false" option
@throws Exception
ambari-server/src/test/java/org/apache/ambari/server/configuration/ConfigurationTest.java