### Question:
JsonValueBuilder { public static JsonValue toJsonValue(String json) throws JsonException { try { return new JsonValue(MAPPER.readValue(json, Map.class)); } catch (IOException e) { throw new JsonException("Failed to parse json", e); } } private  JsonValueBuilder(); static JsonObject jsonValue(); static JsonValue toJsonValue(String json); static JsonValue toJsonArray(final String json); static ObjectMapper getObjectMapper();  }### Answer:
@Test public void shouldConvertJsonStringToJsonValue() throws IOException { JsonValue expectedJsonValue = getExpectedJsonValue(); JsonValue jsonValue = JsonValueBuilder.toJsonValue(expectedJsonValue.toString()); assertEquals(jsonValue.toString(), expectedJsonValue.toString()); }