@Test
public void createsMapOfStringToString() throws Exception {

    ObjectValue jsonObject = new ObjectValue();
    jsonObject.addElement("1", new StringValue("to be or"));
    jsonObject.addElement("2", new StringValue("not to be"));
    Map map = ObjectBuilder.createObject(Map.class, newParameterizedType(Map.class, String.class, String.class), jsonObject);
    assertEquals(ImmutableMap.of("1", "to be or", "2", "not to be"), map);
}