@Test void testResourcesNotAvailable() { ProblematicInjectableSaga injectableSaga = new ProblematicInjectableSaga(); assertThrows(BeanCreationException.class, () -> testSubject.injectResources(injectableSaga)); }
@Override public void injectResources(Object saga) { autowireCapableBeanFactory.autowireBeanProperties(saga, AutowireCapableBeanFactory.AUTOWIRE_NO, false); }
SpringResourceInjector implements ResourceInjector, ApplicationContextAware { @Override public void injectResources(Object saga) { autowireCapableBeanFactory.autowireBeanProperties(saga, AutowireCapableBeanFactory.AUTOWIRE_NO, false); } }
SpringResourceInjector implements ResourceInjector, ApplicationContextAware { @Override public void injectResources(Object saga) { autowireCapableBeanFactory.autowireBeanProperties(saga, AutowireCapableBeanFactory.AUTOWIRE_NO, false); }  }
SpringResourceInjector implements ResourceInjector, ApplicationContextAware { @Override public void injectResources(Object saga) { autowireCapableBeanFactory.autowireBeanProperties(saga, AutowireCapableBeanFactory.AUTOWIRE_NO, false); }  @Override void injectResources(Object saga); @Override void setApplicationContext(ApplicationContext applicationContext); }
SpringResourceInjector implements ResourceInjector, ApplicationContextAware { @Override public void injectResources(Object saga) { autowireCapableBeanFactory.autowireBeanProperties(saga, AutowireCapableBeanFactory.AUTOWIRE_NO, false); }  @Override void injectResources(Object saga); @Override void setApplicationContext(ApplicationContext applicationContext);  }