@Test
public void testConvertChild_arrayLiteral() throws Exception {

    ExpressionEvaluator eval = mock(ExpressionEvaluator.class);
    when(eval.evaluate(anyString())).thenAnswer(call -> call.getArgument(0, String.class));
    assertEquals("json array as array", arr("one", "two").get(),
            converter().convertChild(xml("fooArray.xml", "jsonarray"), eval));
    assertEquals("json array as string", wrap("[\"one\", \"two\"]"),
            converter().convertChild(xml("fooArray.xml"), eval));
}