@Test(expected = JsonProcessingException.class)
public void should_check_that_json_is_invalid() throws Exception {

    String notjson = "\n"
            + "    \"fr-FR\": {\n"
            + "        \"Default name\": \"Nom par défaut\",\n"
            + "        \"Hello boys\": \"Coucou les garçooonns\"\n"
            + "    },\n"
            + "    \"ru-RU\": {\n"
            + "        \"Default label\": \"Etiqueta por defecto\",\n"
            + "        \"Hello boys\": \"Bonjourno los garçones\"\n"
            + "    }\n"
            + "}";
    objectMapper.checkValidJson(notjson.getBytes(StandardCharsets.UTF_8));
}