@Test
public void should_format_json_when_using_pretty_print_on_json() throws Exception {

    assertThat(objectMapper.prettyPrint("{\"foo\":\"bar\"}")).isEqualTo("{" + System.lineSeparator() +
            "  \"foo\" : \"bar\"" + System.lineSeparator() +
            "}");
}