@Test
void readTree_with_IOException_test() throws IOException {

    ObjectMapper objectMapper = mock(ObjectMapper.class);
    when(objectMapper.readTree((byte[]) any())).thenThrow(IOException.class);
    byte[] value = new byte[0];
    assertThatThrownBy(()-> JacksonUtil.readTree(objectMapper, value)).isInstanceOf(UncheckedIOException.class);
}