@Override
    public Result responseMessageForCheckConnectionToSCM(String responseBody) {
        return jsonResultMessageHandler.toResult(responseBody);
    }
@Test
    public void shouldBuildFailureResultFromCheckSCMConnectionResponse() throws Exception {
        String responseBody = "{\"status\":\"failure\",messages=[\"message-one\",\"message-two\"]}";
        Result result = messageHandler.responseMessageForCheckConnectionToSCM(responseBody);

        assertFailureResult(result, List.of("message-one", "message-two"));
    }