@Test
public void shouldGetMap() throws Exception {

    @SuppressWarnings("unchecked")
    Map<String, String> value =
            (Map<String, String>) Beans.value(new SomeObject(), ImmutableList.of("nine"));
    assertThat(value).isEqualTo(ImmutableMap.of("a", "b", "c", "d", "e", "f"));
}