@Test
public void testConvertQueueHierarchy() {

  converter = builder.build();
  converter.convertQueueHierarchy(rootQueue);
  // root children
  assertEquals("root children", "default,admins,users",
      csConfig.get(PREFIX + "root.queues"));
  // root.admins children
  assertEquals("root.admins children", "bob,alice",
      csConfig.get(PREFIX + "root.admins.queues"));
  // root.default children - none
  assertNull("root.default children", csConfig.get(PREFIX + "root.default" +
      ".queues"));
  // root.users children
  assertEquals("root.users children", "john,joe",
      csConfig.get(PREFIX + "root.users.queues"));
  Set<String> leafs = Sets.difference(ALL_QUEUES,
      Sets.newHashSet("root",
          "root.default",
          "root.admins",
          "root.users"));
  assertNoValueForQueues(leafs, ".queues", csConfig);
}