@SuppressWarnings("unchecked")
    private List toList(Object ... items) {
        List rval = new ArrayList();
        for (Object item : items) {
            rval.add(item);
        }
        return rval;
    }
Unit Test for {@link JsonPayloadIO}.

@author eric.wittmann@redhat.com
gateway/engine/core/src/test/java/io/apiman/gateway/engine/io/JsonPayloadIOTest.java