@Test
public void testQueueMaxAMShare() {

  converter = builder.build();
  converter.convertQueueHierarchy(rootQueue);
  // root.admins.bob
  assertEquals("root.admins.bob AM share", "1.0",
      csConfig.get(PREFIX + "root.admins.bob.maximum-am-resource-percent"));
  // root.admins.alice
  assertEquals("root.admins.alice AM share", "0.15",
      csConfig.get(PREFIX +
          "root.admins.alice.maximum-am-resource-percent"));
  Set<String> remaining = Sets.difference(ALL_QUEUES,
      Sets.newHashSet("root.admins.bob", "root.admins.alice"));
  assertNoValueForQueues(remaining, ".maximum-am-resource-percent",
      csConfig);
}