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

    Object complex = resolver.resolve("complex_with_list", Object.class);
    assertThat(complex).isInstanceOf(Map.class);
    assertThat(((Map<String, Object>) complex)).containsExactly(
            entry("subfield1", "text"),
            entry("subfield2", ImmutableMap.of("sublist", Arrays.asList("item 1", "item 2", "item 3.14"))));
}