@Override
                public void handle(IAsyncResult<Void> result) {
                    if (result.isError()) {
                        errorHolder.add(result.getError());
                    }
                }
Publish a API configured with the correct policy and policy config.
@param method
@throws Throwable
test/policies/src/main/java/io/apiman/test/policies/PolicyTester.java