@Test(expected = AssertionError.class) public void testFromJsonWithMalformedJson() { JsonHelper.fromJson("{", int.class); }
static <T> T fromJson(String string, Class<T> type) { try { return JSON.readValue(string, type); } catch (IOException e) { throw new AssertionError(e); } }
JsonHelper { static <T> T fromJson(String string, Class<T> type) { try { return JSON.readValue(string, type); } catch (IOException e) { throw new AssertionError(e); } } }
JsonHelper { static <T> T fromJson(String string, Class<T> type) { try { return JSON.readValue(string, type); } catch (IOException e) { throw new AssertionError(e); } }  }
JsonHelper { static <T> T fromJson(String string, Class<T> type) { try { return JSON.readValue(string, type); } catch (IOException e) { throw new AssertionError(e); } }   }
JsonHelper { static <T> T fromJson(String string, Class<T> type) { try { return JSON.readValue(string, type); } catch (IOException e) { throw new AssertionError(e); } }    }