@Test
public void testConvertToString() throws JsonProcessingException {

    val someObj = Collections.singletonMap("foo", "bar");
    val expected = new ObjectMapper().writeValueAsString(someObj);
    val actual = utilUnderTest.convertToString(someObj);
    assertEquals(expected, actual);
}