@Test(expected = JSONException.class)
public void testFromMapWithNullKey() throws Exception {

  Map<String, String> map = new HashMap<String, String>();
  map.put(null, "value");
  JSONUtils.fromMap(map);
}