@Test(expected = RuntimeException.class) public void testConvertToObject_invalidJson() { utilUnderTest.convertToObject("", MAP_TYPE_REFERENCE); }
public Object convertToObject(String data, TypeReference c) { try { return objectMapper.readValue(data, c); } catch (IOException e) { throw new RuntimeException("JSON deserialization failed", e); } }
ObjectMapperUtil { public Object convertToObject(String data, TypeReference c) { try { return objectMapper.readValue(data, c); } catch (IOException e) { throw new RuntimeException("JSON deserialization failed", e); } } }
ObjectMapperUtil { public Object convertToObject(String data, TypeReference c) { try { return objectMapper.readValue(data, c); } catch (IOException e) { throw new RuntimeException("JSON deserialization failed", e); } }  }
ObjectMapperUtil { public Object convertToObject(String data, TypeReference c) { try { return objectMapper.readValue(data, c); } catch (IOException e) { throw new RuntimeException("JSON deserialization failed", e); } }  String convertToString(Object object); Object convertToObject(String data, TypeReference c); }
ObjectMapperUtil { public Object convertToObject(String data, TypeReference c) { try { return objectMapper.readValue(data, c); } catch (IOException e) { throw new RuntimeException("JSON deserialization failed", e); } }  String convertToString(Object object); Object convertToObject(String data, TypeReference c);  }