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

    Map<String, Object> complex = resolver.resolve("complex_variable", Map.class);
    assertThat(complex.get("complex")).isEqualTo(ImmutableMap.builder().put("subfield", "subValue").build());
}