+
+ @RequestScoped
+ public static class Y {
+
+ }
+ public static class X {
+ @Inject
+ private Y y;
+
+ }
+
+ @Test
+ public void testInjectStorage() throws Exception {
+ X x = new X();
+ InjectorFactoryBuilder.setInjectorFactory(null);
+ InjectorFactoryBuilder.getInjector().inject(x);
+ }
+
+ @Test
+ public void testInjectStorage2() {
+ X x = new X();
+ InjectorFactoryBuilder.setInjectorFactory(null);
+ InjectorFactoryBuilder.getInjector().inject(x);
+ }
+