TestEnricher enricher = new ArquillianResourceTestEnricher();
injector.get().inject(enricher);
X test = enrichType.cast(enrichType.newInstance());
enricher.enrich(test);
return test;
}
protected <X, T> X execute(Class<X> enrichType, Class<T> contextualType, T outerType, T innerType) throws Exception
{