@Test
public void testQueueMaxChildCapacityNotSupported() throws Exception {

  expectedException.expect(UnsupportedPropertyException.class);
  expectedException.expectMessage("test");
  Mockito.doThrow(new UnsupportedPropertyException("test"))
    .when(ruleHandler).handleMaxChildCapacity();
  converter.convert(config);
}