@Override
    public Node toNode() {
        ObjectNode.Builder builder = Node.objectNodeBuilder()
                .withOptionalMember(DOCUMENTATION, getDocumentation().map(Node::from))
                .withMember(ID, getId())
                .withMember(PROTOCOL, getProtocol().toString())
                .withMember(REQUEST, getRequest().toNode())
                .withMember(RESPONSE, getResponse().toNode());

        if (!tags.isEmpty()) {
            builder.withMember(TAGS, ArrayNode.fromStrings(getTags()));
        }
        if (!testParameters.isEmpty()) {
            ObjectNode.Builder paramBuilder = ObjectNode.objectNodeBuilder();
            for (Map.Entry<String, List<String>> e : getTestParameters().entrySet()) {
                paramBuilder.withMember(e.getKey(), ArrayNode.fromStrings(e.getValue()));
            }
            builder.withMember(TEST_PARAMETERS, paramBuilder.build());
        }
        return builder.build();
    }
Defines a parameterized test case for malformed HTTP requests.

This class is *not* preferred for code generation - use {@link HttpMalformedRequestTestCase}
instances instead, retrieved from {@link HttpMalformedRequestTestsTrait#getTestCases()}.
smithy-protocol-test-traits/src/main/java/software/amazon/smithy/protocoltests/traits/ParameterizedHttpMalformedRequestTestCase.java