@Test
public void testConvertChild_objectLiteral() throws Exception {

    ExpressionEvaluator eval = mock(ExpressionEvaluator.class);
    when(eval.evaluate(anyString())).thenAnswer(call -> call.getArgument(0, String.class));
    assertEquals("json object as object", key("key", "value").get(),
            converter().convertChild(xml("fooObject.xml", "jsonobject"), eval));
    assertEquals("json object as string", wrap("{\"key\": \"value\"}"),
            converter().convertChild(xml("fooObject.xml"), eval));
}