@Test
public void testQueueMaxChildCapacityNotSupported() {

  converter = builder.build();
  expectedException.expect(UnsupportedPropertyException.class);
  expectedException.expectMessage("test");
  Mockito.doThrow(new UnsupportedPropertyException("test"))
    .when(ruleHandler).handleMaxChildCapacity();
  converter.convertQueueHierarchy(rootQueue);
}