final ThreadContext callContext = new ThreadContext(context, null, Operation.INJECTION);
final ThreadContext oldContext = ThreadContext.enter(callContext);
try {
final InjectionProcessor processor = new InjectionProcessor(inputTestInstance, context.getInjections(), context.getJndiContext());
processor.createInstance();
try {
OWBInjector.inject(appContext.getBeanManager(), inputTestInstance, null);
} catch (final Throwable t) {
// TODO handle this differently
// this is temporary till the injector can be rewritten