@Test
    public void testJsonMarshalling_SingleProperty() throws Exception {
        HeaderMap original = new HeaderMap();
        original.add("Header-1", "Value-1");

        ObjectMapper mapper = new ObjectMapper();
        String serializedHeaderMap = mapper.writer().writeValueAsString(original);

        HeaderMap deserializedMap = mapper.reader(HeaderMap.class).readValue(serializedHeaderMap);

        Assert.assertNotNull(deserializedMap.get("Header-1"));
        Assert.assertEquals("Value-1", deserializedMap.get("Header-1"));
    }
Test method for {@link io.apiman.gateway.engine.beans.util.CaseInsensitiveStringMultiMap#toString()}.
gateway/engine/beans/src/test/java/io/apiman/gateway/engine/beans/util/HeaderMapIOTest.java