@Test
    public void shouldStripHeaderWithKey() {
        request.getHeaders().put("vanish", "begone");

        StripHeaderBean shb = new StripHeaderBean();
        shb.setPattern("vanish");
        shb.setStripType(StripType.KEY);
        shb.setWith(With.STRING);

        config.getStripHeaders().add(shb);

        policy.apply(request, mContext, config, mRequestChain);

        assertFalse(request.getHeaders().containsKey("vanish"));
    }
@author Marc Savy {@literal <msavy@redhat.com>}
plugins/simple-header-policy/src/test/java/io/apiman/plugins/simpleheaderpolicy/SimpleHeaderPolicyTest.java