@Test
@SuppressWarnings("unchecked")
public void resolve_complex_with_list_var_in_body() throws Exception {

    Object complex = resolver.resolve("complex_with_list_var_in_body", Object.class);
    assertThat(complex).isInstanceOf(Map.class);
    assertThat(((Map) complex).get("string_list")).isEqualTo(Arrays.asList("item 1", "item 2", "item 3"));
    assertThat(((Map) complex).get("complex_list")).isEqualTo(Arrays.asList(
            ImmutableMap.of("item10", "value10", "item11", "value11"),
            ImmutableMap.of("item20", "value20", "item21", "value21"))
    );
}