@Test
public void testConvertChild_hintBoolean() throws Exception {

    ExpressionEvaluator eval = mock(ExpressionEvaluator.class);
    when(eval.evaluate(anyString())).thenAnswer(call -> call.getArgument(0, String.class));
    assertSame("true is true", JsonValue.TRUE,
            converter().convertChild(xml("fooTrue.xml"), eval));
    assertSame("true is true", JsonValue.TRUE,
            converter().convertChild(xml("fooTrue.xml", "boolean"), eval));
    assertSame("non-boolean, empty string is false", JsonValue.FALSE,
            converter().convertChild(xml("emptyFoo.xml", "boolean"), eval));
    assertSame("non-boolean, number is true", JsonValue.FALSE,
            converter().convertChild(xml("emptyFoo.xml", "boolean"), eval));
}