private static IPolicyTestBackEndApi createBackEndApi(String endpoint) {
        try {
            @SuppressWarnings("unchecked")
            Class<? extends IPolicyTestBackEndApi> theClass = (Class<? extends IPolicyTestBackEndApi>) Class.forName(endpoint);
            return theClass.newInstance();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
A connection a simulated back end API.

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