@Test(expected = ComponentConfigurationException.class)
public void testConvertChild_jsonValueLiteral_stringToken() throws Exception {

    ExpressionEvaluator eval = mock(ExpressionEvaluator.class);
    when(eval.evaluate(anyString())).thenAnswer(call -> call.getArgument(0, String.class));
    converter().convertChild(xml("fooBar.xml", "json"), eval);
}