@Test
public void testConvertChild_hintString() throws Exception {

    ExpressionEvaluator eval = mock(ExpressionEvaluator.class);
    when(eval.evaluate(anyString())).thenAnswer(call -> call.getArgument(0, String.class));
    assertSame("expect json true for value", JsonValue.TRUE,
            converter().convertChild(xml("fooTrue.xml"), eval));
    assertEquals("expect json string 'true' for value", JavaxJson.wrap("true"),
            converter().convertChild(xml("fooTrue.xml", "string"), eval));
    assertEquals("expect json number for value", JavaxJson.wrap(-500),
            converter().convertChild(xml("fooNumber.xml"), eval));
    assertEquals("expect json string '-500' for value", JavaxJson.wrap("-500"),
            converter().convertChild(xml("fooNumber.xml", "string"), eval));
}