@Test
public void testSiteDrfEnabledConversion() {

  converter.convertSiteProperties(yarnConfig, yarnConvertedConfig, true,
    false);
  assertEquals("Resource calculator type", DominantResourceCalculator.class,
      yarnConvertedConfig.getClass(
          CapacitySchedulerConfiguration.RESOURCE_CALCULATOR_CLASS, null));
}