@Override
    public Map<String, Object> toMap() {
        final Map<String, Object> resultAsMap = new LinkedHashMap<>();

        resultAsMap.put(CODE, httpStatusCode);
        resultAsMap.put(HEADERS, headers);
        resultAsMap.put(STATUS, status);
        resultAsMap.put(MESSAGE, message);

        return resultAsMap;
    }
@Test
    void testIfCreateStitchResponse() {
        final Map<String, Object> headers = new LinkedHashMap<>();
        headers.put("test_header_1", "test1");
        headers.put("test_header_2", "test2");

        final StitchResponse response = new StitchResponse(200, headers, "test", "testing");

        final String responseAsJson = JsonUtils.convertMapToJson(response.toMap());

        assertEquals("{\"code\":200,\"headers\":{\"test_header_1\":\"test1\",\"test_header_2\":\"test2\"},"
                     + "\"status\":\"test\",\"message\":\"testing\"}",
                responseAsJson);
    }