public static HttpConfigResponse createFromConfig(ConfigResponse config) {
        return new HttpConfigResponse(config);
    }
@Test
    public void require_that_response_is_created_from_config() throws IOException {
        long generation = 1L;
        ConfigPayload payload = ConfigPayload.fromInstance(new SimpletypesConfig(new SimpletypesConfig.Builder()));
        ConfigResponse configResponse = SlimeConfigResponse.fromConfigPayload(payload,
                                                                              generation,
                                                                              false,
                                                                              PayloadChecksums.from("", "595f44fec1e92a71d"));
        HttpConfigResponse response = HttpConfigResponse.createFromConfig(configResponse);
        assertEquals(SessionHandlerTest.getRenderedString(response), "{\"boolval\":false,\"doubleval\":0.0,\"enumval\":\"VAL1\",\"intval\":0,\"longval\":0,\"stringval\":\"s\"}");
    }