@Test
    @Configuration("{}")
    public void testApplyApiRequestIPolicyContextObjectIPolicyChainOfApiRequest() throws Throwable {
        PolicyTestResponse response = send(PolicyTestRequest.build(PolicyTestRequestType.GET, "/some/resource"));
        Assert.assertEquals(200, response.code());
        EchoResponse entity = response.entity(EchoResponse.class);
        Assert.assertEquals("true", entity.getHeaders().get("Test-Policy"));
    }
Test method for {@link io.apiman.plugins.test_policy.TestPolicy#apply(io.apiman.gateway.engine.beans.ApiRequest, io.apiman.gateway.engine.policy.IPolicyContext, java.lang.Object, io.apiman.gateway.engine.policy.IPolicyChain)}.
plugins/test-policy/src/test/java/io/apiman/plugins/test_policy/TestPolicyTest.java