@Override
            public void handle(ISignalWriteStream stream) {
                if (ptRequest.body() != null) {
                    ByteBuffer buffer = new ByteBuffer(ptRequest.body());
                    stream.write(buffer);
                }
                stream.end();
            }
Base class for all apiman policy tests.

@author eric.wittmann@redhat.com
test/policies/src/main/java/io/apiman/test/policies/ApimanPolicyTest.java