Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-501

weldContainer.instance().select().iterator() contains null element

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.0.Beta1
    • None
    • Built-in beans
    • None

      private Weld weld;
      	private WeldContainer container;
      
      	@BeforeMethod
      	public void beforeMethod() throws Exception {
      		weld = new Weld();
      		container =  weld.initialize();
      		
      	}
      	
      	@Test
      	public void testSelect() throws Exception {
      		Iterator<Object> iter = container.instance().select().iterator();
      		while (iter.hasNext()) {
      			assertNotNull(iter.next());
      		}
      	}
      
      	@AfterMethod
      	public void afterMethod() {
      		weld.shutdown();
      	}
      

              pmuiratbleepbleep Pete Muir (Inactive)
              samppaa Samuli Saarinen (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: