Beispiel #1
0
 @Test
 public void testStringDict() throws Exception {
   Object input =
       ImmutableMap.of(
           "foo", "bar",
           "wiz", "bang");
   Map<String, String> converted = Type.STRING_DICT.convert(input, null);
   assertEquals(input, converted);
   assertNotSame(input, converted);
   assertThat(Type.STRING_DICT.flatten(converted)).isEmpty();
 }