public static ConfigRemoveResponse buildFailResponse(String errorMsg) {
        ConfigRemoveResponse removeResponse = new ConfigRemoveResponse();
        removeResponse.setResultCode(ResponseCode.FAIL.getCode());
        removeResponse.setMessage(errorMsg);
        return removeResponse;
    }
@Override
    @Test
    public void testSerializeFailResponse() throws JsonProcessingException {
        ConfigRemoveResponse configRemoveResponse = ConfigRemoveResponse.buildFailResponse("Fail");
        String json = mapper.writeValueAsString(configRemoveResponse);
        assertTrue(json.contains("\"resultCode\":" + ResponseCode.FAIL.getCode()));
        assertTrue(json.contains("\"errorCode\":0"));
        assertTrue(json.contains("\"message\":\"Fail\""));
        assertTrue(json.contains("\"success\":false"));
    }