@Produces @ApplicationScoped
    public static IStorageQuery provideStorageQuery(@New JpaStorage jpaStorage) {
        TestType testType = ManagerTestUtils.getTestType();
        if (testType == TestType.jpa) {
            return jpaStorage;
        } else {
            throw new RuntimeException("Unexpected test type: " + testType);
        }
    }
Attempt to create producer methods for CDI beans.

@author eric.wittmann@redhat.com
manager/test/api/src/main/java/io/apiman/manager/test/server/TestCdiFactory.java