@Override
    public ValidationResult getConfigurationValidationResultFromResponseBody(String responseBody) {
        return new JSONResultMessageHandler().toValidationResult(responseBody);
    }
@Test
    public void getConfigurationValidationResultFromResponseBody_shouldDeserializeJsonToValidationResult() {
        final ArtifactMessageConverterV2 converter = new ArtifactMessageConverterV2();
        String responseBody = "[{\"message\":\"Url must not be blank.\",\"key\":\"Url\"},{\"message\":\"SearchBase must not be blank.\",\"key\":\"SearchBase\"}]";

        ValidationResult validationResult = converter.getConfigurationValidationResultFromResponseBody(responseBody);

        assertThat(validationResult.isSuccessful(), is(false));
        assertThat(validationResult.getErrors(), containsInAnyOrder(
                new ValidationError("Url", "Url must not be blank."),
                new ValidationError("SearchBase", "SearchBase must not be blank.")
        ));
    }