public void testArrayInterface() throws Exception {
   ObjectMapper mapper = new ObjectMapper();
   mapper.registerModule(new MrBeanModule());
   ArrayBean bean =
       mapper.readValue(
           "{\"values\":[1,2,3], \"words\": [ \"cool\", \"beans\" ] }", ArrayBean.class);
   assertNotNull(bean);
   assertArrayEquals(new int[] {1, 2, 3}, bean.getValues());
   assertArrayEquals(new String[] {"cool", "beans"}, bean.getWords());
 }